implicit final class PointExt extends AnyVal
- Alphabetic
- By Inheritance
- PointExt
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val point: Point
-
def
remove(redraw: Boolean = true, animation: Animation = Animation.Enabled): Unit
Remove the point from the series.
Remove the point from the series.
- redraw
Defaults to
true. Whether to redraw the chart after the point is removed. If doing more operations on the chart, it is a good idea to set redraw to false and callchart.redraw()after.- animation
Defaults to true. When true, the graph's updating will be animated with default animation options. The animation can also be a configuration object with properties
durationandeasing.
Example: -
def
slice(sliced: Boolean, redraw: Boolean = true, animation: Animation = Animation.Enabled): Unit
Slice out or set back in a pie chart slice.
Slice out or set back in a pie chart slice. This is the default way of Highcharts to visualize that a pie point is selected.
- sliced
When
true, the point is sliced out. Whenfalse, the point is set in. Whennullorundefined, the sliced state is toggled.- redraw
Defaults to
true. Whether to redraw the chart after the point is altered.- animation
Defaults to true. When true, the move will be animated with default animation options. The animation can also be a configuration object with properties
durationandeasing.
-
def
toString(): String
- Definition Classes
- Any
-
def
update(options: BaseSeriesData[_], redraw: Boolean = true, animation: Animation = Animation.Enabled): Unit
Update the point with new values.
Update the point with new values.
- options
The point options. Point options are handled as described under the series<type>.data item for each series type. For example for a line series, if options is a single number, the point will be given that number as the main y value. If it is an array, it will be interpreted as x and y values respectively. If it is an object, advanced options are applied.
- redraw
Defaults to
true. Whether to redraw the chart after the point is updated. If doing more operations on the chart, it is a good idea to set redraw to false and callchart.redraw()after.- animation
Defaults to true. When true, the update will be animated with default animation options. The animation can also be a configuration object with properties
durationandeasing.
Example: