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

look into AmCharts v4 #427

Open
tomwayson opened this issue May 11, 2018 · 2 comments
Open

look into AmCharts v4 #427

tomwayson opened this issue May 11, 2018 · 2 comments

Comments

@tomwayson
Copy link
Member

https://www.amcharts.com/docs/v4/getting-started/migrating-from-v3/

@tomwayson
Copy link
Member Author

according to @benstoltz v4 charts are accessible by default

@benstoltz
Copy link
Member

@tomwayson So I looked into this quite thoroughly. My tldr (in the auspices of accessibility are:)

The timeline for V3 is looking like this:
Updates: End of 2019.
Support: End of 2020.

So not immediately zomg, but we should be working towards this.
Considerations:

  • We want to keep our spec the same
  • overrides will break (probably)
  • from the perspective of the hub, not load both amcharts 3 and 4 at the same time, BUT it is a possibility.

overall things to keep in mind in terms of internals we'd have to change:

  • Serial and XY have merged into XYCHART which now supports any number of axes, and of any types or combinations.
  • Graphs have become series. This may make things easier for us.
  • pie charts might be easier to work with. You can even have nested pie charts like https://codepen.io/team/amcharts/pen/PQrvJr
  • anything can be animated
  • properties become 'states'. IE instead of a hover property you have a hover state which can override any and all props for the elme
  • data has changed a bit to support real time data / effectively data can be added incrementally
  • V3 === script files / global variables. V4 === modules that can be imported.

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

No branches or pull requests

2 participants