Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [swtchart-dev] Issue #72

Hi Himanshu,

please create a demo and a PR to inspect the changes.


Am 08.05.20 um 13:38 schrieb Himanshu Balasamanta:
Currently, to set ticks as Dates, data is fed by Series.setXDateSeries() method (which does not work as expected). The default ticks in the charts are set through AxisTickLabels.updateTickLabelForLinearScale(int, BigDecimal). 
To display ticks other than the default format, methods of AxisTickLabels, such as AxisTickLabels.updateTickLabelForCategoryAxis(int), AxisTickLabels.updateTickLabelForLogScale(int) are called. Shouldn't we remove the Series.setXDateSeries() method, and add a method like Axis.setDateAxis(LocalDate[]) so that it becomes more organised?

Also I took a look at this issue #72 . I shall make the required changes to incorporate LocalDate and LocalTime using the LocalDate.toEpochDay() and LocalDate.ofEpochDay() methods.

Thanks and regards
Himanshu Balasamanta

swtchart-dev mailing list
To unsubscribe from this list, visit

OpenChrom - the open source alternative for chromatography / mass spectrometry
Dr. Philip Wenig » Founder » philip.wenig@xxxxxxxxxxxxx »

Back to the top