How to change default Chart settings

ART Help
  • Pete

    Pete - 2013-01-31


    I am trying to change the size of the chart lines to make them thicker, and also to change the color of the lines on the charts as I already have pre-defined colors I need to use. Can you please clarify how to do this as there is no setting in the charts menu on changing these settings.

    Thank you.

  • Timothy Anyona

    Timothy Anyona - 2013-02-01

    There is no way to change these items at this time.

  • Ulf Dittmer

    Ulf Dittmer - 2013-02-05

    You can change line colors via a SeriesPaintProcessor postprocesor.

    There is no direct way to set line thickness and pattern, but you can write a postprocessor that gets the LineAndShapeRenderer from the plot and sets its Stroke via "lineandshaperenderer.setSeriesStroke(0, new BasicStroke(3.0F));" or something like that.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks