trait BaseAxis[AxisType <: BaseAxis[AxisType, AxisEventsType], AxisEventsType <: BaseAxisEvents[AxisType]] extends Object
- Annotations
- @ScalaJSDefined() @RawJSType()
- Alphabetic
- By Inheritance
- BaseAxis
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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.
- Annotations
- @JSOptional()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
events: UndefOr[AxisEventsType]
Event handlers for the axis.
Event handlers for the axis.
- Annotations
- @JSOptional()
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
- Annotations
- @JSOptional()
Example: -
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.
- Annotations
- @JSOptional()
-
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.
- Annotations
- @JSOptional()
Example: -
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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().- Annotations
- @JSOptional()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
lineColor: UndefOr[|[String, Object]]
The color of the line marking the axis itself.
The color of the line marking the axis itself.
- Annotations
- @JSOptional()
-
val
lineWidth: UndefOr[Double]
The width of the line marking the axis itself.
The width of the line marking the axis itself.
- Annotations
- @JSOptional()
-
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 theendOnTickoption is true, the max value might be rounded up.- Annotations
- @JSOptional()
-
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.
- Annotations
- @JSOptional()
-
val
min: UndefOr[Double]
The minimum value of the axis.
The minimum value of the axis. If
nullthe min value is automatically calculated. If thestartOnTickoption is true, theminvalue might be rounded down.- Annotations
- @JSOptional()
Example: -
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. This is useful when you don't want the lowest data value to appear on the edge of the plot area. When the axis'
minoption is set or a min extreme is set usingaxis.setExtremes(), the minPadding will be ignored.- Annotations
- @JSOptional()
Example: -
val
minTickInterval: UndefOr[Double]
The minimum tick interval allowed in axis values.
The minimum tick interval allowed in axis values. For example on zooming in on an axis with daily data, this can be used to prevent the axis from showing hours. Defaults to the closest distance between two points on the axis.
- Annotations
- @JSOptional()
-
val
minorGridLineColor: UndefOr[|[String, Object]]
Color of the minor, secondary grid lines.
Color of the minor, secondary grid lines.
- Annotations
- @JSOptional()
Example: -
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.
- Annotations
- @JSOptional()
Example: -
val
minorGridLineWidth: UndefOr[Double]
Width of the minor, secondary grid lines.
Width of the minor, secondary grid lines.
- Annotations
- @JSOptional()
Example: -
val
minorTickColor: UndefOr[|[String, Object]]
Color for the minor tick marks.
Color for the minor tick marks.
- Annotations
- @JSOptional()
-
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. Ifnull, 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.
On axes using categories, minor ticks are not supported.
- Annotations
- @JSOptional()
Null by default,"auto" on linear Y axis,5 units on linear Y axis,"auto" on logarithmic Y axis,0.1 on logarithmic Y axis.
Example: -
val
minorTickLength: UndefOr[Double]
The pixel length of the minor tick marks.
The pixel length of the minor tick marks.
- Annotations
- @JSOptional()
Example: -
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
insideandoutside.- Annotations
- @JSOptional()
Example: -
val
minorTickWidth: UndefOr[Double]
The pixel width of the minor tick mark.
The pixel width of the minor tick mark.
- Annotations
- @JSOptional()
Example: -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
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. If the chart is inverted, the x axis is reversed by default.
- Annotations
- @JSOptional()
Example: -
val
showFirstLabel: UndefOr[Boolean]
Whether to show the first tick label.
Whether to show the first tick label.
- Annotations
- @JSOptional()
Example: -
val
showLastLabel: UndefOr[Boolean]
Whether to show the last tick label.
Whether to show the last tick label.
- Annotations
- @JSOptional()
Example: -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tickColor: UndefOr[|[String, Object]]
Color for the main tick marks.
Color for the main tick marks.
- Annotations
- @JSOptional()
Example: -
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 on linear and datetime axes. On categorized axes, anulltickInterval will default to 1, one category. Note that datetime axes are based on milliseconds, so for example an interval of one day is expressed as24 * 3600 * 1000.On logarithmic axes, the tickInterval is based on powers, so a tickInterval of 1 means one tick on each of 0.1, 1, 10, 100 etc. A tickInterval of 2 means a tick of 0.1, 10, 1000 etc. A tickInterval of 0.2 puts a tick on 0.1, 0.2, 0.4, 0.6, 0.8, 1, 2, 4, 6, 8, 10, 20, 40 etc.
If the tickInterval is too dense for labels to be drawn, Highcharts may remove ticks.
If the chart has multiple axes, the alignTicks option may interfere with the
tickIntervalsetting.- Annotations
- @JSOptional()
Example: -
val
tickLength: UndefOr[Double]
The pixel length of the main tick marks.
The pixel length of the main tick marks.
- Annotations
- @JSOptional()
Example: -
val
tickPixelInterval: UndefOr[Double]
If tickInterval is
nullthis option sets the approximate pixel interval of the tick marks.If tickInterval is
nullthis option sets the approximate pixel interval of the tick marks. Not applicable to categorized axis. Defaults to72for the Y axis and100for the X axis.- Annotations
- @JSOptional()
Example: -
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
insideandoutside.- Annotations
- @JSOptional()
"outside" by default,"inside" on X axis
Example: -
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
tickPixelIntervalandtickInterval.- Annotations
- @JSOptional()
-
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
tickPixelIntervalandtickInterval.- Annotations
- @JSOptional()
-
val
tickWidth: UndefOr[Double]
The pixel width of the major tick marks.
The pixel width of the major tick marks.
- Annotations
- @JSOptional()
Example: -
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
val
type: UndefOr[String]
The type of axis.
The type of axis. Can be one of
linear,logarithmic,datetimeorcategory. In a datetime axis, the numbers are given in milliseconds, and tick marks are placed on appropriate values like full hours or days. In a category axis, the point names of the chart's series are used for categories, if not a categories array is defined.- Annotations
- @JSOptional()
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )