Packages

class ColorAxis extends Object

Annotations
@RawJSType() @ScalaJSDefined()
Note

JavaScript name: colorAxis

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ColorAxis
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ColorAxis()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val className: UndefOr[String]

    A class name that opens for styling the axis by CSS, especially in Highcharts styled mode.

    A class name that opens for styling the axis by CSS, especially in Highcharts styled mode. The class name is applied to group elements for the grid, axis elements and labels.

    Since

    5.0.0

  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val dataClassColor: UndefOr[String]

    Determines how to set each data class' color if no individual color is set.

    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.

    Example:
    1. Category colors

  8. val dataClasses: UndefOr[Array[CleanJsObject[ColorAxisDataClasses]]]

    An array of data classes or ranges for the choropleth map.

    An array of data classes or ranges for the choropleth map. If none given, the color axis is scalar and values are distributed as a gradient between the minimum and maximum colors.

  9. val description: UndefOr[String]

    Requires Accessibility module

    Requires Accessibility module

    Description of the axis to screen reader users.

    Since

    5.0.0

  10. val endOnTick: UndefOr[Boolean]

    Whether to force the axis to end on a tick.

    Whether to force the axis to end on a tick. Use this option with the maxPadding option to control the axis end.

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. val events: UndefOr[CleanJsObject[ColorAxisEvents]]

    Event handlers for the axis.

  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  16. val gridLineColor: UndefOr[|[String, Object]]

    Color of the grid lines extending from the axis across the gradient.

    Color of the grid lines extending from the axis across the gradient.

  17. val gridLineDashStyle: UndefOr[String]

    The dash or dot style of the grid lines.

    The dash or dot style of the grid lines. For possible values, see this demonstration.

  18. val gridLineWidth: UndefOr[Double]

    The width of the grid lines extending from the axis across the gradient of a scalar color axis.

    The width of the grid lines extending from the axis across the gradient of a scalar color axis.

  19. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  21. val id: UndefOr[String]

    An id for the axis.

    An id for the axis. This can be used after render time to get a pointer to the axis object through chart.get().

  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  24. val labels: UndefOr[CleanJsObject[ColorAxisLabels]]

    The axis labels show the number for each tick.

    The axis labels show the number for each tick.

    For more live examples on label options, see xAxis.labels in the Highcharts API.

  25. val lineColor: UndefOr[|[String, Object]]

    The color of the line marking the axis itself.

  26. val lineWidth: UndefOr[Double]

    The width of the line marking the axis itself.

    The width of the line marking the axis itself.

    In styled mode, the stroke width is given in the .highcharts-axis-line or .highcharts-xaxis-line class.

  27. val marker: UndefOr[CleanJsObject[ColorAxisMarker]]

    The triangular marker on a scalar color axis that points to the value of the hovered area.

    The triangular marker on a scalar color axis that points to the value of the hovered area. To disable the marker, set marker: null.

    Example:
    1. Black marker

  28. val max: UndefOr[Double]

    The maximum value of the axis in terms of map point values.

    The maximum value of the axis in terms of map point values. If null, the max value is automatically calculated. If the endOnTick option is true, the max value might be rounded up.

  29. val maxColor: UndefOr[|[String, Object]]

    The color to represent the maximum of the color axis.

    The color to represent the maximum of the color axis. Unless dataClasses or stops are set, the gradient ends at this value.

    If dataClasses are set, the color is based on minColor and maxColor unless a color is set for each data class, or the dataClassColor is set.

  30. val maxPadding: UndefOr[Double]

    Padding of the max value relative to the length of the axis.

    Padding of the max value relative to the length of the axis. A padding of 0.05 will make a 100px axis 5px longer.

  31. val min: UndefOr[Double]

    The minimum value of the axis in terms of map point values.

    The minimum value of the axis in terms of map point values. If null, the min value is automatically calculated. If the startOnTick option is true, the min value might be rounded down.

  32. val minColor: UndefOr[|[String, Object]]

    The color to represent the minimum of the color axis.

    The color to represent the minimum of the color axis. Unless dataClasses or stops are set, the gradient starts at this value.

    If dataClasses are set, the color is based on minColor and maxColor unless a color is set for each data class, or the dataClassColor is set.

  33. val minPadding: UndefOr[Double]

    Padding of the min value relative to the length of the axis.

    Padding of the min value relative to the length of the axis. A padding of 0.05 will make a 100px axis 5px longer.

  34. val minorGridLineColor: UndefOr[|[String, Object]]

    Color of the minor, secondary grid lines.

  35. val minorGridLineDashStyle: UndefOr[String]

    The dash or dot style of the minor grid lines.

    The dash or dot style of the minor grid lines. For possible values, see this demonstration.

  36. val minorGridLineWidth: UndefOr[Double]

    Width of the minor, secondary grid lines.

  37. val minorTickColor: UndefOr[|[String, Object]]

    Color for the minor tick marks.

  38. val minorTickInterval: UndefOr[|[String, Double]]

    Tick interval in scale units for the minor ticks.

    Tick interval in scale units for the minor ticks. On a linear axis, if "auto", the minor tick interval is calculated as a fifth of the tickInterval. If null, minor ticks are not shown.

    On logarithmic axes, the unit is the power of the value. For example, setting the minorTickInterval to 1 puts one tick on each of 0.1, 1, 10, 100 etc. Setting the minorTickInterval to 0.1 produces 9 ticks between 1 and 10, 10 and 100 etc. A minorTickInterval of "auto" on a log axis results in a best guess, attempting to enter approximately 5 minor ticks between each major tick.

    If user settings dictate minor ticks to become too dense, they don't make sense, and will be ignored to prevent performance problems.

  39. val minorTickLength: UndefOr[Double]

    The pixel length of the minor tick marks.

  40. val minorTickPosition: UndefOr[String]

    The position of the minor tick marks relative to the axis line.

    The position of the minor tick marks relative to the axis line. Can be one of inside and outside.

  41. val minorTickWidth: UndefOr[Double]

    The pixel width of the minor tick mark.

  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  45. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  46. val reversed: UndefOr[Boolean]

    Whether to reverse the axis so that the highest number is closest to the origin.

    Whether to reverse the axis so that the highest number is closest to the origin. Defaults to false in a horizontal legend and true in a vertical legend, where the smallest value starts on top.

  47. val showFirstLabel: UndefOr[Boolean]

    If labels are enabled, whether to show the first tick label.

  48. val showInLegend: UndefOr[Boolean]

    Whether to display the colorAxis in the legend.

    Whether to display the colorAxis in the legend.

    Since

    4.2.7

  49. val showLastLabel: UndefOr[Boolean]

    If labels are enabled, whether to show the last tick label.

  50. val softMin: UndefOr[Double]

    A soft minimum for the axis.

    A soft minimum for the axis. If the series data minimum is greater than this, the axis will stay at this minimum, but if the series data minimum is lower, the axis will flex to show all data.

    Since

    5.0.1

  51. val startOnTick: UndefOr[Boolean]

    Whether to force the axis to start on a tick.

    Whether to force the axis to start on a tick. Use this option with the maxPadding option to control the axis start.

  52. val stops: UndefOr[Array[Array[Any]]]

    Color stops for the gradient of a scalar color axis.

    Color stops for the gradient of a scalar color axis. Use this in cases where a linear gradient between a minColor and maxColor is not sufficient. The stops is an array of tuples, where the first item is a float between 0 and 1 assigning the relative position in the gradient, and the second item is the color.

  53. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  54. val tickColor: UndefOr[|[String, Object]]

    Color for the main tick marks.

  55. val tickInterval: UndefOr[Double]

    The interval of the tick marks in axis units.

    The interval of the tick marks in axis units. When null, the tick interval is computed to approximately follow the tickPixelInterval.

  56. val tickLength: UndefOr[Double]

    The pixel length of the main tick marks.

  57. val tickPixelInterval: UndefOr[Double]

    If tickInterval is null this option sets the approximate pixel interval of the tick marks.

    If tickInterval is null this option sets the approximate pixel interval of the tick marks.

  58. val tickPosition: UndefOr[String]

    The position of the major tick marks relative to the axis line.

    The position of the major tick marks relative to the axis line. Can be one of inside and outside.

  59. val tickPositioner: UndefOr[Function]

    A callback function returning array defining where the ticks are laid out on the axis.

    A callback function returning array defining where the ticks are laid out on the axis. This overrides the default behaviour of tickPixelInterval and tickInterval.

  60. val tickPositions: UndefOr[Array[Double]]

    An array defining where the ticks are laid out on the axis.

    An array defining where the ticks are laid out on the axis. This overrides the default behaviour of tickPixelInterval and tickInterval.

  61. val tickWidth: UndefOr[Double]

    The pixel width of the major tick marks.

    The pixel width of the major tick marks.

    In styled mode, the stroke width is given in the .highcharts-tick class.

  62. def toLocaleString(): String
    Definition Classes
    Object
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. val type: UndefOr[String]

    The type of interpolation to use for the color axis.

    The type of interpolation to use for the color axis. Can be linear or logarithmic.

  65. def valueOf(): Any
    Definition Classes
    Object
  66. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped