-
-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing space before and after chart #388
Comments
CategoryDataset dataset = DatasetUtils.createCategoryDataset("Data", data);
|
My markup didn't format properly ;( |
What happens if you adjust the lower and upper margins of your |
What happens if you specify a negative value for the lower and upper margins of your
|
That's with negative values of -1.33 to try and get it as tight to the y axis as possible without cutting it off |
As far as I know, the axis margin is the only relevant, supported property, also cited here for reference. |
Hi,
I am using a CategoryDataset to produce a bar chart which is then being rendered using a LineAndShapeRenderer to appear as a line chart. I'm having an issue where I cannot find a way to remove the gaps before and after the chart! I want it so that the first value sits on the y-axis and the last value sits on the edge of the graph. Please advise how I can get rid of the space marked by the black squiggly lines.
The text was updated successfully, but these errors were encountered: