line chart with dots,triangles,squares

2004-06-28
2013-01-13
  • amrith kumar

    amrith kumar - 2004-06-28

    Hi
    I want to create a line chart with data points differentiated with Dots,squares,triangles.

    Also is it possible to get lines with different formats ie dotted,thick,thin.

    Amrith

     
    • randal

      randal - 2004-10-19

      in your postprocessor use:

      plot.setRenderer(new LineAndShapeRenderer());
      LineAndShapeRenderer renderer =  LineAndShapeRenderer)plot.getRenderer();

      That'll set your shapes, then theres loads of methods in org.jfree.chart.renderer.LineAndShapeRenderer for altering the lines, check the inherited methods (I think setSeriesStroke() is what you want).

       

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks