Android XYPlot set width of line, size of point and disable legend
Asked Answered
A

1

1

I'm trying to change width of line in XYPlot and size of point, any suggestion?

And another question - how i disable legend to SimpleXYSeries? Set to null cause Error.

Aposiopesis answered 6/6, 2012 at 12:27 Comment(1)
i find only one solution to do line wider - enableShadows() :DAposiopesis
E
1

I'm trying to change width of line in XYPlot and size of point. Any suggestion?

As shown here, you can alter the line thickness using either setSeriesStroke() or setBaseStroke() in your chosen renderer. Assuming XYLineAndShapeRenderer, you can change the rendered Shape using the approach shown here.

How I disable the legend?

You can pass false for the legend parameter to your chosen ChartFactory method or JFreeChart constructor.

Exudation answered 7/6, 2012 at 13:35 Comment(1)
See also How to set line thickness in JFreeChart?.Exudation

© 2022 - 2024 — McMap. All rights reserved.