Reputation: 5354
I have the following StackedXYAreaChart:
How do 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!
Upvotes: 2
Views: 99
Reputation: 205785
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.
Upvotes: 1