JavaScript/jQuery Chart - Series
When you get a series as a function's return value, or a callback function parameter, you can use the members of the Series object.
To get the required series, use the chart's functions (e.g., getAllSeries(), getSeriesByName(seriesName)).
Methods
Name | Description |
---|---|
clearHover() |
Switches the series from the hover state back to normal. |
clearSelection() |
Cancels the selection of this particular series. The series is displayed in its initial style. |
deselectPoint(point) |
Deselects the specified point. The point is displayed in an initial style. |
getAllPoints() |
Gets all points in the series. |
getArgumentAxis() |
Gets the argument axis to which the series belongs. |
getColor() |
Gets the color of a particular series. |
getPointByPos(positionIndex) |
Gets a series point with the specified index. |
getPointsByArg(pointArg) |
Gets a series point with the specified argument value. |
getValueAxis() |
Gets the value axis to which the series belongs. |
getVisiblePoints() |
Gets visible series points. |
hide() |
Hides a series at runtime. |
hover() |
Switches the series into the hover state, the same as when a user places the mouse pointer on it. |
isHovered() |
Provides information about the hover state of a series. |
isSelected() |
Provides information about the selection state of a series. |
isVisible() |
Provides information about the visibility state of a series. |
select() |
Selects the series. |
selectPoint(point) |
Selects the specified point. The point is displayed in a 'selected' style. |
show() |
Makes a particular series visible. |