how can i to add the distance between the higer line and the edge in some linechart ?
i know how to do this for between lateral begin and the start of information line : setIntroGapPercent(double x) to instance of CategoryPlot class.
distance in lineChart
Re: distance in lineChart
This is controlled with the setUpperMargin(double) method in the NumberAxis class (but now moved to ValueAxis in CVS). Also in CVS, a bug has been fixed where changing the margin didn't result in the data range updating. I should have 0.9.3 released some time during this month, including the changes and bug fixes.
Regards,
DG.
Regards,
DG.
Re: distance in lineChart
ok, but when i use this:
"valueAxisY.setMaximumAxisValue(Double.parseDouble(newHighTime));"
the code: "setUpperMargin(double)" method in the NumberAxis don't work it !
i need to use:
valueAxisY.setMaximumAxisValue(Double.parseDouble(newHighTime));
and i need more distance between the higer line and the edge.
what can i do ?
"valueAxisY.setMaximumAxisValue(Double.parseDouble(newHighTime));"
the code: "setUpperMargin(double)" method in the NumberAxis don't work it !
i need to use:
valueAxisY.setMaximumAxisValue(Double.parseDouble(newHighTime));
and i need more distance between the higer line and the edge.
what can i do ?