-
Notifications
You must be signed in to change notification settings - Fork 90
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
Discussion: chart.update architecture #311
Comments
This could be done without the oneToOne option too. All the updates could be centralised to the BaseChart so that individual components such as Series declare their desired state to the BaseChart. BaseChart then does deep compare of previous chart state to current state, and performs changes to the chart. For example:
Centralising changes also helps to keep track of axes when highstock decides to recycle the whole object (Navigator if I remember correctly). |
I like the idea of Perhaps for more generic updates we could The currently architecture whilst having flaws, gives us a nice separation of concerns (in my opinion), so I would be keen on keeping that principle where possible. Would it be worth using |
Opening new issue to discuss architecture change
@whawker wrote:
The text was updated successfully, but these errors were encountered: