class RangeSelector extends Object
- Annotations
- @RawJSType() @ScalaJSDefined()
- Note
JavaScript name:
rangeSelector
- Alphabetic
- By Inheritance
- RangeSelector
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RangeSelector()
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
-
val
allButtonsEnabled: UndefOr[Boolean]
Whether to enable all buttons from the start.
Whether to enable all buttons from the start. By default buttons are only enabled if the corresponding time range exists on the X axis, but enabling all buttons allows for dynamically loading different time ranges.
- Since
2.0.3
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
buttonPosition: UndefOr[Object]
A fixed pixel position for the buttons.
A fixed pixel position for the buttons. Supports two properties,
x
andy
.
-
val
buttonSpacing: UndefOr[Double]
The space in pixels between the buttons in the range selector.
-
val
buttonTheme: UndefOr[Object]
A collection of attributes for the buttons.
A collection of attributes for the buttons. The object takes SVG attributes like
fill
,stroke
,stroke-width
, as well asstyle
, a collection of CSS properties for the text.The object can also be extended with states, so you can set presentational options for
hover
,select
ordisabled
button states.CSS styles for the text label.
In styled mode, the buttons are styled by the
.highcharts-range-selector-buttons .highcharts-button
rule with its different states.Example: -
val
buttons: UndefOr[Array[CleanJsObject[RangeSelectorButtons]]]
An array of configuration objects for the buttons.
An array of configuration objects for the buttons.
Defaults to
buttons: [{ type: 'month', count: 1, text: '1m' }, { type: 'month', count: 3, text: '3m' }, { type: 'month', count: 6, text: '6m' }, { type: 'ytd', text: 'YTD' }, { type: 'year', count: 1, text: '1y' }, { type: 'all', text: 'All' }]
Example: -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
val
enabled: UndefOr[Boolean]
Enable or disable the range selector.
Enable or disable the range selector.
Example: -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
val
height: UndefOr[Double]
The height of the range selector, used to reserve space for buttons and input.
The height of the range selector, used to reserve space for buttons and input.
- Since
2.1.9
-
val
inputBoxBorderColor: UndefOr[|[String, Object]]
The border color of the date input boxes.
The border color of the date input boxes.
- Since
1.3.7
Example: -
val
inputBoxHeight: UndefOr[Double]
The pixel height of the date input boxes.
The pixel height of the date input boxes.
- Since
1.3.7
Example: -
val
inputBoxStyle: UndefOr[Object]
CSS for the container DIV holding the input boxes.
CSS for the container DIV holding the input boxes. Deprecated as of 1.2.5. Use inputPosition instead.
Example: -
val
inputBoxWidth: UndefOr[Double]
The pixel width of the date input boxes.
The pixel width of the date input boxes.
- Since
1.3.7
Example: -
val
inputDateFormat: UndefOr[String]
The date format in the input boxes when not selected for editing.
The date format in the input boxes when not selected for editing. Defaults to
%b %e, %Y
.Example: -
val
inputDateParser: UndefOr[Function]
A custom callback function to parse values entered in the input boxes and return a valid JavaScript time as milliseconds since 1970.
A custom callback function to parse values entered in the input boxes and return a valid JavaScript time as milliseconds since 1970.
- Since
1.3.3
Example: -
val
inputEditDateFormat: UndefOr[String]
The date format in the input boxes when they are selected for editing.
The date format in the input boxes when they are selected for editing. This must be a format that is recognized by JavaScript Date.parse.
Example: -
val
inputEnabled: UndefOr[Boolean]
Enable or disable the date input boxes.
Enable or disable the date input boxes. Defaults to enabled when there is enough space, disabled if not (typically mobile).
-
val
inputPosition: UndefOr[Object]
Positioning for the input boxes.
Positioning for the input boxes. Allowed properties are
align
,verticalAlign
,x
andy
.- Since
1.2.5
-
val
inputStyle: UndefOr[Object]
CSS for the HTML inputs in the range selector.
CSS for the HTML inputs in the range selector.
In styled mode, the inputs are styled by the
.highcharts-range-input text
rule in SVG mode, andinput.highcharts-range-selector
when active.Example: -
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
val
labelStyle: UndefOr[Object]
CSS styles for the labels - the Zoom, From and To texts.
CSS styles for the labels - the Zoom, From and To texts.
In styled mode, the labels are styled by the
.highcharts-range-label
class.Example: -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
selected: UndefOr[Double]
The index of the button to appear pre-selected.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @throws( ... )