Represents a data point in a chart. ClientPoint provides functions to manage a point in a series on an individual basis, including selections, options, and events. The options for ClientPoint are defined in the Highcharts point class, which is documented at the following URL:
Applies the options containing the x and y data and possibly some extra properties. This is called on point initialization or from point.update.
Parameter
options
Float, array of float, or object. The point options. If options is a single number, the point gets that number as the Y value. If options is an array, the point gets the first two numbers as an X and Y value pair. If options is an object, advanced options as outlined in the Highcharts options.point are applied. The fields include color, events, id, marker, legend, Index (pie chart only), name, sliced (pie chart only), x, and y.
Example
This example changes the Y value of myClientPoint to 12:
myClientPoint.applyOptions(12);
destroy
Syntax
void ClientPoint.destroy( )
Destroys a point to clear memory. Its reference still stays in series.data.
Example
This example destroys the options and values for myClientPoint:
Boolean. Specifies whether to select or deselect the point.
accumulate
Boolean. Whether to add this point to the previous selection. By default, this is true when the Ctrl (PC) or Cmd (Macintosh) key is held during selection.
Example
This example selects MyClientPoint and deselects all other points:
Updates this point and optionally redraws the series and axes.
Parameters
options
Float, array of float, or object. The point options. If options is a single number, the point gets that number as the Y value. If options is an array, the point gets the first two numbers as an X and Y value pair. If options is an object, advanced options as outlined in the Highcharts options.point are applied. The fields include color, events, id, marker, legend, Index (pie chart only), name, sliced (pie chart only), x, and y.
redraw
Boolean. Optional. Specifies whether to redraw the chart. Default is true.
animation
Boolean or object. Optional. Whether to apply animation, and optionally animation configuration. Default is true.
Example
This example updates myClientPoint with an X value of 1 and a Y value of 12, then redraws the point: