class anychart.core.cartesian.series.DiscreteBase Improve this Doc
Extends: anychart.core.cartesian.series.BaseWithMarkers
A base for all series with discrete points, like bars, sticks, columns, OHLC, etc.
Methods Overview
Data | |
excludePoint() | Excludes points at the specified index. |
getExcludedPoints() | Returns an array of excluded points. |
includeAllPoints() | Includes all excluded points. |
includePoint() | Includes excluded points with the specified indexes. |
keepOnlyPoints() | Keep only the specified points. |
Interactivity | |
unhover() | Unhover settings. |
unselect() | Deselects all selected points. |
Methods Description
excludePoint
Excludes points at the specified index.
Params:
Name | Type | Description |
---|---|---|
indexes | number | Array.<number> | Points indexes. |
Returns:
boolean - Returns true if the points were excluded.Try it:
getExcludedPoints
Returns an array of excluded points.
Returns:
Array.<anychart.core.Point> - Array of the points.Try it:
includeAllPoints
Includes all excluded points.
Returns:
boolean - Returns true if all points were included.Try it:
includePoint
Includes excluded points with the specified indexes.
Params:
Name | Type | Description |
---|---|---|
indexes | number | Array.<number> | Points indexes. |
Returns:
boolean - Returns true if the points were included.Try it:
keepOnlyPoints
Keep only the specified points.
Params:
Name | Type | Description |
---|---|---|
indexes | number | Array.<number> | Point index or indexes. |
Try it:
unhover
Removes hover from the point or series.
Detailed description
Note: Works only after anychart.charts.Cartesian#draw is called.
Returns:
anychart.core.radar.series.Base - Self instance for method chaining.Try it:
Removes hover from the point or series by index.
Params:
Name | Type | Description |
---|---|---|
index | number | Point index. |
Returns:
anychart.core.radar.series.Base - Self instance for method chaining.Try it:
Removes hover from the point or series by indexes.
Params:
Name | Type | Description |
---|---|---|
indexes | Array.<number> | Array of indexes. |
Returns:
anychart.core.radar.series.Base - Self instance for method chaining.Try it:
unselect
Deselects all selected points.
Returns:
anychart.core.cartesian.series.DiscreteBase - Self instance for method chaining.Try it:
Deselects selected point by index.
Params:
Name | Type | Description |
---|---|---|
index | number | Index of the point to select. |
Returns:
anychart.core.cartesian.series.DiscreteBase - Self instance for method chaining.Try it:
Deselects selected points by indexes.
Params:
Name | Type | Description |
---|---|---|
indexes | Array.<number> | An array of indexes of the point to select. |
Returns:
anychart.core.cartesian.series.DiscreteBase - Self instance for method chaining.Try it: