Closed Seuleuzeuh closed 3 years ago
I've split the value generation (StepValueInterval) and the label generation (StepLabelInterval). For example : That allow user to draw a chart with daily value, but with label draw every 7 days.
I think an other update is required to manage monthly label generation (the first of every month for example). I don't know if it's a needed feature. I need some feedback.
this looks pretty good, I like the direction you're going with this.
The feature Be able to declare series for Chart with an auto generation of the labels part, accordingly to a range and step size.
API [ class abstract BaseChartSerie ]
[class ChartEntry] Inherit from BaseChartEntry.
Equivalient of the actual ChartEntry
[class DateTimeChartEntry] Inherit from BaseChartEntry.
Scenario All the 'magic' will be made during the first Get of DateSerie.Entries, and the entries will be generated accordingly to the others option of the class. The same type of class can be applied for TimeSeries, FloatSeries, and others. With this API Model, no change will be made of the core charts.
Additional context Feedback required.