Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect trendline indicator recalculation after adding a point to main series #18710

Closed
kamil-musialowski opened this issue Mar 22, 2023 · 0 comments · Fixed by #18771
Closed

Comments

@kamil-musialowski
Copy link
Contributor

Expected behaviour

After adding a point to the main series, trendline should recalculate all of its values to still remain as a straight line on a chart, indicating current trend.

Actual behaviour

Adding a point, results in incorrect calculation of the next trendline points.

Live demo with steps to reproduce

https://jsfiddle.net/BlackLabel/cd5403jh/

  1. Click on add point and observe the black series (trendline).

Product version

Highstock + Indicators + Trendline v10.3.3

Internal note:
Checking older HC versions indicates that it never worked properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

2 participants