Hello,
First, I want to say I've looked at both the BoxAndWhiskerDemo and BoxAndWhiskerChartDemo2 classes and
they are far more complicated then what I need.
Put simply, I have a range axis (time) and really don't care about the domain axis (X). What I want to show
is a box that starts at a point (Y0) and ends at a point (Y1). X can be any value (not too wide). There will
be multiples of the same "Y" points so I would want to plot the box next to the last box plotted (for those exact Y points)
to the right This would show me the number of exact same boxes (same Y points) as they are presented horizontally on
the chart.
Can the XYBoxAndWhiskerRenderer or some other JFreeChart tool be used to accomplish this?
R,
Fred
simpe box chart
-
- Posts: 1
- Joined: Sun Feb 05, 2017 1:19 pm
- antibot: No, of course not.
Re: simpe box chart
i don't think so!
poikilothermiahyperthymesiadorsalgia
poikilothermiahyperthymesiadorsalgia
Last edited by lucy albert on Mon Feb 06, 2017 8:05 am, edited 1 time in total.
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: simpe box chart
An IntervalXYDataset rendered by an XYBarRenderer might be what you need.
Just scale the available x range to something conveniwnt (0-1, 0-100, or whatever), and then distribute the available x range between the individual boxes for a given y interval.
Just scale the available x range to something conveniwnt (0-1, 0-100, or whatever), and then distribute the available x range between the individual boxes for a given y interval.