Class LineDotShapeCustomizer

All Implemented Interfaces:
JRChartCustomizer, NamedChartCustomizer

public class LineDotShapeCustomizer extends AbstractShapeCustomizer
Chart customizer to define the shape and the size of the symbol along the line. It works for LineAndShapeRenderer and XYLineAndShapeRenderer
Author:
Marco Orlandin (dejawho2@users.sourceforge.net)
  • Constructor Details

    • LineDotShapeCustomizer

      public LineDotShapeCustomizer()
  • Method Details

    • customize

      public void customize(org.jfree.chart.JFreeChart jfc, JRChart jrc)
      Description copied from interface: JRChartCustomizer
      This method is called at fill time, before the chart is rendered.
      Parameters:
      jfc - the JFreeChart object, which can be accessed and modified
      jrc - the JasperReports version of the chart, containing data that might be needed in customization
    • getOffset

      protected Point getOffset(Dimension2D size)
      Specified by:
      getOffset in class AbstractShapeCustomizer
    • getOffset

      protected Point getOffset(Rectangle2D bounds)
      Specified by:
      getOffset in class AbstractShapeCustomizer