[Chart] Line Chart

This recipe shows how to add markers for the line chart using script.

Major steps include the following:

  1. Create a blank report template (HowToAddLineMarker.rml).
  2. Add a line chart into the report template using the datasource (FruitSales.ds).
  3. Use the follwoing script to add markers for the Line Chart:importPackage(Packages.com.elixirtech.chart2.plot);var lineandshaperenderer = plot.getRenderer();lineandshaperenderer.setShapesVisible(true);

LineChart

To download the necessary files for this recipe, refer to the attached ZIP package.
LineChart.zip (3.3 KB)