I use XYIntervalSeries() with createXYBarChart() and this renderer option setUseYInterval(true).
For DomainAxis i use SymbolAxis() to name the series data.
For RangeAxis i use DateAxis().
How to sort the DomainAxis by Series Number and not by Series Name ?
SymboleAxis sorted by serie number
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: SymboleAxis sorted by serie number
Can you post a bit of code?
Technically, you can´t "sort" a ValueAxis.
Technically, you can´t "sort" a ValueAxis.
Re: SymboleAxis sorted by serie number
befor all, thanks for your reply.
I have the solution. In fact the order is based uniquely on the X value.
In my case, i have to set the right X value for each DomainAxis.
at the create dataset, it's my responsability to use the rigth value for "idx" for each "domain":
XYIntervalSeries xyintervalseries = new XYIntervalSeries("domain");
xyintervalseries.add(idx, .....);
I have the solution. In fact the order is based uniquely on the X value.
In my case, i have to set the right X value for each DomainAxis.
at the create dataset, it's my responsability to use the rigth value for "idx" for each "domain":
XYIntervalSeries xyintervalseries = new XYIntervalSeries("domain");
xyintervalseries.add(idx, .....);