What I’d like to do is have a RangeBarChart with it’s X-axis as dates. Currently adding new bars to a RangeCategorySeries spaces each bar equally, and there doesn’t appear to be a mechanism for manually specifying an X value, such as a Date. TimeSeries exists, but appears only to be for LineCharts.
Ideally what I’d need is a method add(min, max, date) on RangeCategorySeries.
Has anyone implemented this or have some tips for me? Thanks.
You can extend
RangeCategorySeriesand overridetoXYSeries(). I’ve pasted the current implementation of this method below for your reference. You can try changing this by setting the X value according to the date at each index.