Class LineStyle

    • Field Detail

      • LINE

        public static final LineStyle LINE
        The simple line chart style.
      • LINE_STACKED

        public static final LineStyle LINE_STACKED
        The simple line chart style with stacked values.
      • LINE_PERCENT

        public static final LineStyle LINE_PERCENT
        The simple line chart style with percent values.
      • LINE_MARKER

        public static final LineStyle LINE_MARKER
        The line chart style with marker.
      • LINE_MARKER_STACKED

        public static final LineStyle LINE_MARKER_STACKED
        The line chart style with marker and stacked values.
      • LINE_MARKER_PERCENT

        public static final LineStyle LINE_MARKER_PERCENT
        The line chart style with marker and percent values.
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class ChartStyle
      • getAllowedDatasets

        public java.util.List getAllowedDatasets​(Chart2 chart)
        Returns the list of dataset supported by this chart style.
        Specified by:
        getAllowedDatasets in class ChartStyle
        Parameters:
        chart - the chart
        Returns:
        the list of datasets.
        See Also:
        Chart2
      • isSimpleLine

        public boolean isSimpleLine()
        Returns this is a simple style with or without marker.
        Returns:
        is a simple style.
        Since:
        8.0
      • isStackedLine

        public boolean isStackedLine()
        Returns this is a stacked style with or without marker.
        Returns:
        is a simple style.
        Since:
        8.0
      • isPercentLine

        public boolean isPercentLine()
        Returns this is a percent style with or without marker.
        Returns:
        is a percent style.
        Since:
        8.0
      • isMarkerLine

        public boolean isMarkerLine()
        Returns this line style has shapes on the lines.
        Returns:
        has markers.
        Since:
        8.0