FVANCOP / ChartNew.js

MIT License
420 stars 142 forks source link

Dynamic modifying appearance of single data point #395

Closed cssyphus closed 8 years ago

cssyphus commented 8 years ago

When click or hover over a data point in chart #1, I need to enlarge and colorize the datapoint in same position in (identical) data series on Chart #2.

This will use the updateChart() function, but I'm unsure how to reference the data point and how to apply the new formatting.

Here is a jsFiddle to illustrate:

http://stackoverflow.com/questions/34056752/chartnew-js-update-corresponding-data-point-in-second-chart

PS - I am new to chartNew.js. I chose it over chart.js v2, Google charts, D3.js and other charting solutions because (1) excellent enhancement of chart.js (fully backwards compatible), and (2) your impressive support and active development. Today I created a tag for chartNew.js on StackOverflow and have referred a few questioners to this github.