swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.29k stars 1.15k forks source link

line chart: get selected timeline range #1327

Open pstarzer opened 4 years ago

pstarzer commented 4 years ago

Is it possible to get the start and end value of the selected timeline range? I couldn't find a way to get the selected range.

Either output values, or an event like in the custom timeline-filter-bar-chart would be nice.

pstarzer commented 4 years ago

Ok, there is the 'onDomainChange' Event from the timeline component to the line-chart component, but not further. Is there a simple way to catch this event!?

roxor1909 commented 4 years ago

But you cant access the onDomainChange elemen!

Or did you find any workaround to get access to the timeline?

lquastana commented 3 years ago

Hi , I'm in the same case , did you find a workaround ?

strohbert commented 3 years ago

Same problem here. Would like to retrieve the range, basically xScaleMin and xScaleMax of the chart on each rescaling. Any progress or solution?