Class LineChartOptions

java.lang.Object
org.primefaces.model.charts.ChartOptions
org.primefaces.model.charts.line.LineChartOptions
All Implemented Interfaces:
Serializable

public class LineChartOptions extends ChartOptions
Used to set options to Line chart component.
See Also:
  • Constructor Details

    • LineChartOptions

      public LineChartOptions()
  • Method Details

    • isShowLines

      public boolean isShowLines()
      Gets the showLines
      Returns:
      showLines
    • setShowLines

      public void setShowLines(boolean showLines)
      Sets the showLines
      Parameters:
      showLines - If false, the lines between points are not drawn.
    • isSpanGaps

      public boolean isSpanGaps()
      Gets the spanGaps
      Returns:
      spanGaps
    • setSpanGaps

      public void setSpanGaps(boolean spanGaps)
      Sets the spanGaps
      Parameters:
      spanGaps - If false, NaN data causes a break in the line.
    • getScales

      public CartesianScales getScales()
      Gets the options of cartesian scales
      Returns:
      scales
    • setScales

      public void setScales(CartesianScales scales)
      Sets the cartesian scales
      Parameters:
      scales - The CartesianScales object