LocusEnergy / ember-sparkles

Collection of composable D3 components built with ember-d3-helpers
http://locusenergy.github.io/ember-sparkles/#/line-chart
MIT License
56 stars 9 forks source link

Ability to trigger action by clicking segment of chart #40

Open patrickberkeley opened 8 years ago

patrickberkeley commented 8 years ago

Is there a way to trigger an ember action by clicking on a segment of a chart using e-s? For example by clicking one slice of a pie chart.

ghost commented 8 years ago

not currently, but this is a very good idea! it should just be one or two small helpers in https://github.com/LocusEnergy/ember-d3-helpers, like a d3-on helper. @taras had some thoughts on this, I recall – we should make it a priority to implement. @patrickberkeley - also, if you want to work on this, we can guide you.