Hi,
I need to draw a line separator in every grouping(ex : 1 23 4 | 1 2 3 4 | 1 2 3 4) of x axis .is it possible?if it is possible then please give any sample.Its very urgent.
Line separator in grouping
-
- Posts: 19
- Joined: Wed Mar 09, 2011 2:11 pm
- antibot: No, of course not.
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Line separator in grouping
Are talking about a CategoryAxis or some extended version?
In any case, you could try to extend your axis as described in this thread and realize the separators a minor tick marks with a sufficiently high outsideLength.
In any case, you could try to extend your axis as described in this thread and realize the separators a minor tick marks with a sufficiently high outsideLength.
-
- Posts: 19
- Joined: Wed Mar 09, 2011 2:11 pm
- antibot: No, of course not.
Re: Line separator in grouping
I couldn't able to understand the previous thread example.
Please provide any sample program.
How to use drawtickmarks() ?
Please provide any sample program.
How to use drawtickmarks() ?
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Line separator in grouping
That would require the following steps:rvijaiganesh wrote: Please provide any sample program.
a) guess the type of Axis you are using
b) prepare a patch that does what you want
c) write a sample program that shows the use of the patch.
Unfortunately, my available time does not allow me to do this. Sorry.
-
- Posts: 19
- Joined: Wed Mar 09, 2011 2:11 pm
- antibot: No, of course not.
Re: Line separator in grouping
Hi ,
I got the output finally by using this thread http://www.jfree.org/phpBB2/viewtopic.p ... 19&start=0.But my problem is,it has two domain axis i don't know how to combine two domain axis in a single plot.Please tell any idea.(Both domain axis should be in bottom)
I got the output finally by using this thread http://www.jfree.org/phpBB2/viewtopic.p ... 19&start=0.But my problem is,it has two domain axis i don't know how to combine two domain axis in a single plot.Please tell any idea.(Both domain axis should be in bottom)
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Line separator in grouping
Check CategoryPlot.setDomainAxis(1, new CategoryAxis()) and CategoryPlot.mapDatasetToDomainAxes(0, Arrays.asList(new int[]{0, 1}))