When I try to plot around 1500 data points using default preferred size for the ChartPanel, the chart shrinks to such an extent that it's not easily readable. So I am changing the preferred size for ChartPanel and also the MaximumDrawWidth. Doing this leaves a lot of empty space between the Range Axis and the start of the plot (the first data point).
Is there anything like insets, offset that I should change? or is it something else?
PS: I am using Category chart
Thanks
Randeep
Empty Space in Chart Area between Axis and 1st Data Point
Empty space between Range Axis and First Data Point
Dear all,
I am also having the same problem.
That is an empty space is there between the Range axis(For example Y axis ) and the first data point
I am using Area chart with Category Data set
Help needed!
Thanks& Regards
Vaji
I am also having the same problem.
That is an empty space is there between the Range axis(For example Y axis ) and the first data point
I am using Area chart with Category Data set
Help needed!
Thanks& Regards
Vaji
Re: Empty Space in Chart Area between Axis and 1st Data Point
Hi, Did you find a solution to this? I am having the same problem with the area chart. I want the first category to start right next to the y Axis but it is offset. There is also a gap after the last data point.
I've tried setting the margins and the bounds to 0 but it doesn't fix the problem.
Thanks!
I've tried setting the margins and the bounds to 0 but it doesn't fix the problem.
Thanks!
-
- Posts: 2
- Joined: Wed Nov 19, 2014 6:18 am
- antibot: No, of course not.
Re: Empty Space in Chart Area between Axis and 1st Data Poin
plot.setAxisOffset(new RectangleInsets(0,0,0,0));
set rectangleinset according to get spacing thorugh axis .
your solution

set rectangleinset according to get spacing thorugh axis .
your solution



