Class ColorAxis

    • Constructor Detail

      • ColorAxis

        public ColorAxis()
    • Method Detail

      • getAccessibility

        public AxisAccessibility getAccessibility()
        Returns an accessibility options for an axis, if null, it will create new one.
        Overrides:
        getAccessibility in class Axis
        Since:
        10.2.1.0
      • setAccessibility

        public void setAccessibility​(AxisAccessibility accessibility)
        Sets an accessibility options for an axis.
        Overrides:
        setAccessibility in class Axis
        Since:
        10.2.1.0
      • getDataClassColor

        public String getDataClassColor()
        Determines how to set each data class' color if no individual color is set. The default value, tween, computes intermediate colors between minColor and maxColor. The other possible value, category, pulls colors from the global or chart specific colors array.

        Default: "tween"

        Since:
        7.2.1.0
      • setDataClassColor

        public void setDataClassColor​(String dataClassColor)
        Determines how to set each data class' color if no individual color is set. The default value, tween, computes intermediate colors between minColor and maxColor. The other possible value, category, pulls colors from the global or chart specific colors array.
        Since:
        7.2.1.0
      • getDataClasses

        public List<DataClass> getDataClasses()
        Returns a list of data classes or ranges for the choropleth map, if any. Otherwise, create a new one. If none given, the color axis is scalar and values are distributed as a gradient between the minimum and maximum colors.
        Since:
        7.2.1.0
      • setDataClasses

        public void setDataClasses​(List<DataClass> dataClasses)
        Sets a list of data classes or ranges for the choropleth map.
        Since:
        7.2.1.0
      • setDataClasses

        public void setDataClasses​(DataClass... dataClasses)
        Sets a list of data classes or ranges for the choropleth map.
        Since:
        7.2.1.0
      • getLayout

        public String getLayout()
        Returns the layout of the color axis. Can be 'horizontal' or 'vertical'. If none given, the color axis has the same layout as the legend.

        Default: null

        Since:
        7.2.1.0
      • setLayout

        public void setLayout​(String layout)
        Sets the layout of the color axis. Can be 'horizontal' or 'vertical'. If none given, the color axis has the same layout as the legend.
        Since:
        7.2.1.0
      • isShowInLegend

        public boolean isShowInLegend()
        Returns whether to display the colorAxis in the legend.

        Default: true

        Since:
        7.2.1.0
      • setShowInLegend

        public void setShowInLegend​(boolean showInLegend)
        Sets whether to display the colorAxis in the legend.
        Since:
        7.2.1.0