-
Notifications
You must be signed in to change notification settings - Fork 12k
Description
Scenario:
I have a line chart with x-axis timeline starting say at 2010, ending at 2017. That chart is tied with controls, those allow to set custom start and end points. It's done by setting scale options.time.min and options.time.max to desired values and updating the chart.
Problem:
When options.time.min and options.time.max are set to e.g. 2015 and 2016, ticks are still distributed between 2010 and 2017 despite on fact that most of those points ain't visible. That leads to low density of ticks on the visible part of the chart.
Expectation:
Ticks are distributed between visible borders of a chart.
I've made a preliminary fix, which updates scale.min and scale.max, but it fails test, because current behavior is expected. Is that expectation correct?