Hey StackExchange
Hey StackExchange

Reputation: 2125

Update a chart from the event of another

enter image description here

Is it possible with AnyChart, to update the line chart depending on the click made on the sunburst chart ? Here is an example of what I'd would like to achieve with anyChart, but made here with d3.js (sunburst take time to load)

Upvotes: 0

Views: 69

Answers (1)

AnyChart Support
AnyChart Support

Reputation: 3905

Yes, it's possible. You should create a chart listener on mouse over and inside the event handler update the second chart. In the comment below you can find a sample which describes how to achieve that. Try to hover with a cursor 'HR' and 'Sales' points, you will how the second chart updates its data.

Upvotes: 1

Related Questions