Class CartesianCategoryAxes

  • All Implemented Interfaces:
    Serializable

    public class CartesianCategoryAxes
    extends CartesianAxes
    If global configuration is used, labels are drawn from one of the label arrays included in the chart data. If only data.labels is defined, this will be used. If data.xLabels is defined and the axis is horizontal, this will be used. Similarly, if data.yLabels is defined and the axis is vertical, this property will be used. Using both xLabels and yLabels together can create a chart that uses strings for both the X and Y axes. CartesianCategoryAxes extends CartesianAxes.
    See Also:
    Serialized Form
    • Constructor Detail

      • CartesianCategoryAxes

        public CartesianCategoryAxes()
    • Method Detail

      • getType

        public String getType()
        Gets the type
        Returns:
        type of cartesian axes
      • setType

        public void setType​(String type)
        Sets the type
        Parameters:
        type - the type of cartesian axes
      • getLabels

        public List<String> getLabels()
        Gets the labels
        Returns:
        labels
      • setLabels

        public void setLabels​(List<String> labels)
        Sets the labels
        Parameters:
        labels - List<String> list of labels to display.