Span a JFreeChart
I have the following StackedXYAreaChart:
How do开发者_Go百科 I make my plot span all the way from the left to all the way to the right so that there are no white spaces between the borders of the chart and the plot? Thanks!The createStackedAreaChart()
method creates a chart having a StackedAreaRenderer
, for which the domain axis is a CategoryAxis
. You can adjust the appearance using the setLowerMargin()
and setUpperMargin()
methods of the axis.
精彩评论