Hi all,
Is it possible to set uneven scaling in range axis of jfreecharts?
I want to have the scaling to be something lke 1,2,3,4,5,25,50,75,100.How can I attain this?
Can I override the setTickUnit function and do this?
Pls help..
thanks in advance,
deeps
Setting unveven intervals in chart range axis
Re: Setting unveven intervals in chart range axis
You would have to create your own implementation of ValuesAxis in order to achieve this. I assume you want the axis space between 1 and 2 to be the same as between 25 and 50, right? I am working on something that would come close to this kind of functionality. It will be a linear-logarithmic axis, where a part of the axis is linear (say the 1-5 part) and a part is logarithmic (the 5-100 part).
Once I have a relatively stable version (in a couple of days) I'll release into the public domain so you can improve upon it until it fits your needs exactly.
Be sure to check back here in a week or so.
Once I have a relatively stable version (in a couple of days) I'll release into the public domain so you can improve upon it until it fits your needs exactly.
Be sure to check back here in a week or so.
Creator of Glotaran, a software program developed for global and target analysis of time-resolved spectroscopy and microscopy data. Big fan of JFreeChart.