chart
div, allowing unique CSS styling
for each chart.
div.
div.
x, y or xy.
chart.events
addSeries
method. The this keyword refers to the
chart object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts. Through event.options
you can access the series options that was passed to the addSeries
method. Returning false prevents the series from being added.
Fires when clicking on the plot background. The this keyword refers to the
chart object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
Information on the clicked spot can be found through event.xAxis and
event.yAxis, which are arrays containing the axes of each dimension
and each axis' value at the clicked spot. The primary axes are event.xAxis[0]
and event.yAxis[0]. Remember the unit of a datetime axis is milliseconds
since 1970-01-01 00:00:00.
click: function(e) {
console.log(
Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', e.xAxis[0].value),
e.yAxis[0].value
)
}
this keyword refers to the
chart object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
redraw option set to true.
The this keyword refers to the
chart object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
Fires when an area of the chart has been selected. Selection is enabled by setting
the chart's zoomType. The this keyword refers to the
chart object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts. The default action for the
selection event is to zoom the
chart to the selected area. It can be prevented by calling
event.preventDefault().
Information on the selected area can be found through event.xAxis and
event.yAxis, which are arrays containing the axes of each dimension
and each axis' min and max values. The primary axes are event.xAxis[0]
and event.yAxis[0]. Remember the unit of a datetime axis is milliseconds
since 1970-01-01 00:00:00.
selection: function(event) {
// log the min and max of the primary, datetime x-axis
console.log(
Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', event.xAxis[0].min),
Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', event.xAxis[0].max)
);
// log the min and max of the y axis
console.log(event.yAxis[0].min, event.yAxis[0].max);
}
title
position: "absolute" and
left and top properties. Defaults to:
{
textAlign: 'center',
color: '#3E576F',
font: '16px "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',
margin: '10px 0 0 0'
}
subtitle
position: "absolute" and
left and top properties. Defaults to:
{
textAlign: 'center',
color: '#3E576F',
font: '16px "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',
margin: '10px 0 0 0'
}
xAxis
The X axis or category axis. Normally this is the horizontal axis, though if the chart is inverted this is the vertical axis. In case of multiple axes, the xAxis node is an array of configuration objects.
See the Axis object for programmatic access to the axis.
categories: ['Apples', 'Bananas', 'Oranges']
{
second: '%H:%M:%S',
minute: '%H:%M',
hour: '%H:%M',
day: '%e. %b',
week: '%e. %b',
month: '%b '%y',
year: '%Y'
}
maxPadding
option to control the axis end.
chart.get().
null the max value is
automatically calculated.
null the min value is
automatically calculated.
"auto",
the minor tick interval is calculated as a fifth of the tickInterval. If
null, minor ticks are not shown.
inside and outside.
maxPadding
option to control the axis start.
72
for the Y axis and 100 for the X axis.
inside and outside.
xAxis.events
.setExtremes() method or by selecting an area in the chart. The this
keyword refers to the axis object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on which
library is used as the base for Highcharts. The new user set minimum and maximum values
can be found by event.min and event.max.
xAxis.labels
"left",
"center" or "right". In inverted charts,
x axis label alignment and y axis alignment are swapped.
this.value. Defaults to:
function() {
return this.value;
}
style: {
color: '#666',
font: '10px bold "Lucida Grande", "Lucida Sans Unicode",'+
' Verdana, Arial, Helvetica, sans-serif'
}
xAxis.plotBands
xAxis.plotLines
xAxis.title
style: {
color: '#6D869F',
font: 'bold 12px "Lucida Grande", "Lucida Sans Unicode", '+
'Verdana, Arial, Helvetica, sans-serif'
}
yAxis
Extends xAxis
The Y axis or value axis. Normally this is the vertical axis, though if the chart is inverted this is the horiontal axis. In case of multiple axes, the yAxis node is an array of configuration objects.
See the Axis object for programmatic access to the axis.
maxPadding
option to control the axis end.
maxPadding
option to control the axis start.
yAxis.events
Extends xAxis.events
yAxis.labels
Extends xAxis.labels
"left", "center" or "right".
yAxis.title
Extends xAxis.title
yAxis.plotBands
Extends xAxis.plotBands
plotOptions
The plotOptions is a wrapper object for config objects for each series type. The config objects for each series can also be overridden for each series item as given in the series array.
Configuration options for the series are given in three levels. Options for all series in a chart are given in the plotOptions.series object. Then options for all series of a specific type are given in the plotOptions of that type, for example plotOptions.line. Next, options for one single series are given in the series array.
plotOptions.series
General options for all series types.
chart.get().
plotOptions.series.marker
plotOptions.series.point
plotOptions.series.point.events
this keyword refers to the
point object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
If the series.allowPointSelect
option is true, the default action for the point's click event is to toggle the
point's select state. Returning false cansels this action.
this keyword refers to the
point object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
this keyword refers to the
point object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
.remove() method. The this keyword refers to the
point object itself. One parameter, event, is passed to the function.
Returning false cancels the operation.
this keyword refers to the
point object itself. One parameter, event, is passed to the function.
Returning false cancels the operation.
this keyword refers to the
point object itself. One parameter, event, is passed to the function.
Returning false cancels the operation.
.update()
method. The this keyword refers to the
point object itself. One parameter, event, is passed to the function. The
new point options can be accessed through event.options.
Returning false cancels the operation.
plotOptions.series.marker.states
plotOptions.series.marker.states.hover
plotOptions.series.dataLabels
Extends xAxis.labels
this.x: The x value.
this.y: The y value.
this.series: The series object. The series name is available
through this.series.name.
this.point: The point object. The point name, if defined, is available
through this.point.name.
formatter: function() {
return this.y;
}
plotOptions.series.events
this keyword refers to the
series object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts. Additionally, event.point
holds a pointer to the nearest point on the graph.
this keyword refers to the
series object itself. One parameter, event, is passed to the function.
The state of the checkbox is found by event.target.checked. Return false
to prevent the default action which is to toggle the select state of the series.
.hide().
this keyword refers to the
series object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts. The default action is to toggle
the visibility of the series. This can be prevented by calling
event.preventDefault().
this keyword refers to the
series object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
this keyword refers to the
series object itself. One parameter, event, is passed to the function.
This contains common event information based on jQuery or MooTools depending on
which library is used as the base for Highcharts.
.show().
plotOptions.series.states
plotOptions.series.states.hover
plotOptions.series.states.hover.marker
Extends plotOptions.series.marker
plotOptions.line
Extends plotOptions.series
plotOptions.line.marker
Extends plotOptions.series.marker
plotOptions.line.marker.states
Extends plotOptions.series.marker.states
plotOptions.line.marker.states.hover
Extends plotOptions.series.marker.states.hover
plotOptions.line.dataLabels
Extends plotOptions.series.dataLabels
plotOptions.line.events
Extends plotOptions.series.events
plotOptions.line.point
Extends plotOptions.series.point
plotOptions.line.point.events
Extends plotOptions.series.point.events
plotOptions.line.states
Extends plotOptions.series.states
plotOptions.line.states.hover
Extends plotOptions.series.states.hover
plotOptions.line.states.hover.marker
Extends plotOptions.series.states.hover.marker
plotOptions.spline
Extends plotOptions.series
plotOptions.spline.marker
Extends plotOptions.series.marker
plotOptions.spline.marker.states
Extends plotOptions.series.marker.states
plotOptions.spline.marker.states.hover
Extends plotOptions.series.marker.states.hover
plotOptions.spline.dataLabels
Extends plotOptions.series.dataLabels
plotOptions.spline.events
Extends plotOptions.series.events
plotOptions.spline.point
Extends plotOptions.series.point
plotOptions.spline.point.events
Extends plotOptions.series.point.events
plotOptions.spline.states
Extends plotOptions.series.states
plotOptions.spline.states.hover
Extends plotOptions.series.states.hover
plotOptions.spline.states.hover.marker
Extends plotOptions.series.states.hover.marker
plotOptions.scatter
Extends plotOptions.series
plotOptions.scatter.marker
Extends plotOptions.series.marker
plotOptions.scatter.marker.states
Extends plotOptions.series.marker.states
plotOptions.scatter.marker.states.hover
Extends plotOptions.series.marker.states.hover
plotOptions.scatter.dataLabels
Extends plotOptions.series.dataLabels
plotOptions.scatter.events
Extends plotOptions.series.events
plotOptions.scatter.point
Extends plotOptions.series.point
plotOptions.scatter.point.events
Extends plotOptions.series.point.events
plotOptions.scatter.states
Extends plotOptions.series.states
plotOptions.scatter.states.hover
Extends plotOptions.series.states.hover
plotOptions.scatter.states.hover.marker
Extends plotOptions.series.states.hover.marker
plotOptions.area
Extends plotOptions.series
color is
used with the series' fillOpacity.
color
of the series, but the lineColor setting allows setting a separate
color for the line without altering the fillColor.
plotOptions.area.marker
Extends plotOptions.series.marker
plotOptions.area.marker.states
Extends plotOptions.series.marker.states
plotOptions.area.marker.states.hover
Extends plotOptions.series.marker.states.hover
plotOptions.area.dataLabels
Extends plotOptions.series.dataLabels
plotOptions.area.events
Extends plotOptions.series.events
plotOptions.area.point
Extends plotOptions.series.point
plotOptions.area.point.events
Extends plotOptions.series.point.events
plotOptions.area.states
Extends plotOptions.series.states
plotOptions.area.states.hover
Extends plotOptions.series.states.hover
plotOptions.area.states.hover.marker
Extends plotOptions.series.states.hover.marker
plotOptions.areaspline
Extends plotOptions.area
plotOptions.areaspline.marker
Extends plotOptions.area.marker
plotOptions.areaspline.marker.states
Extends plotOptions.area.marker.states
plotOptions.areaspline.marker.states.hover
Extends plotOptions.area.marker.states.hover
plotOptions.areaspline.dataLabels
Extends plotOptions.area.dataLabels
plotOptions.areaspline.events
Extends plotOptions.area.events
plotOptions.areaspline.point
Extends plotOptions.area.point
plotOptions.areaspline.point.events
Extends plotOptions.area.point.events
plotOptions.areaspline.states
Extends plotOptions.area.states
plotOptions.areaspline.states.hover
Extends plotOptions.area.states.hover
plotOptions.areaspline.states.hover.marker
Extends plotOptions.area.states.hover.marker
plotOptions.column
Extends plotOptions.series
plotOptions.column.marker
Extends plotOptions.series.marker
plotOptions.column.marker.states
Extends plotOptions.series.marker.states
plotOptions.column.marker.states.hover
Extends plotOptions.series.marker.states.hover
plotOptions.column.dataLabels
Extends plotOptions.series.dataLabels
plotOptions.column.events
Extends plotOptions.series.events
plotOptions.column.point
Extends plotOptions.series.point
plotOptions.column.point.events
Extends plotOptions.series.point.events
plotOptions.column.states
Extends plotOptions.series.states
plotOptions.column.states.hover
Extends plotOptions.series.states.hover
plotOptions.column.states.hover.marker
Extends plotOptions.series.states.hover.marker
plotOptions.bar
Extends plotOptions.column
plotOptions.bar.marker
Extends plotOptions.column.marker
plotOptions.bar.marker.states
Extends plotOptions.column.marker.states
plotOptions.bar.marker.states.hover
Extends plotOptions.column.marker.states.hover
plotOptions.bar.dataLabels
Extends plotOptions.column.dataLabels
plotOptions.bar.events
Extends plotOptions.column.events
plotOptions.bar.point
Extends plotOptions.column.point
plotOptions.bar.point.events
Extends plotOptions.column.point.events
plotOptions.bar.states
Extends plotOptions.column.states
plotOptions.bar.states.hover
Extends plotOptions.column.states.hover
plotOptions.bar.states.hover.marker
Extends plotOptions.column.states.hover.marker
plotOptions.pie
Extends plotOptions.series
plotOptions.pie.marker
Extends plotOptions.series.marker
plotOptions.pie.marker.states
Extends plotOptions.series.marker.states
plotOptions.pie.marker.states.hover
Extends plotOptions.series.marker.states.hover
plotOptions.pie.dataLabels
Extends plotOptions.series.dataLabels
plotOptions.pie.events
Extends plotOptions.series.events
plotOptions.pie.point
Extends plotOptions.series.point
plotOptions.pie.point.events
Extends plotOptions.series.point.events
plotOptions.pie.states
Extends plotOptions.series.states
plotOptions.pie.states.hover
Extends plotOptions.series.states.hover
plotOptions.pie.states.hover.marker
Extends plotOptions.series.states.hover.marker
labels
style: {
color: '#3E576F',
font: '12px "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif'
}
labels.items
style: {
left: '100px',
top: '100px'
}
legend
style unless overridden here. Defaults to:
itemHiddenStyle: {
color: '#CCC'
}
style unless overridden here. Defaults to:
itemHoverStyle: {
color: '#000'
}
itemStyle: {
listStyle: 'none',
margin: '0 1em 0 0',
padding: 0,
font: '13px "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif',
cursor: 'pointer',
color: '#3E576F'
}
labelFormatter: function() {
return this.name
}
style: {
position: 'absolute',
zIndex: 10,
bottom: '10px',
left: '80px',
padding: '5px'
}
loading
chart.showLoading(). It is a utility for developers to communicate
to the end user that something is going on, for example while retrieving new data
via an XHR connection. The "Loading..." text itself is not part of this configuration
object, but part of the lang object.
span. Defaults to:
labelStyle: {
font: 'bold 12px "Lucida Grande", "Lucida Sans Unicode", '+
'Verdana, Arial, Helvetica, sans-serif',
position: 'relative',
top: '1em'
}
style: {
position: 'absolute',
backgroundColor: 'white',
opacity: 0.5,
textAlign: 'center'
}
tooltip
this.x: The x value.
this.y: The y value.
this.series: The series object. The series name is available
through this.series.name.
this.point: The point object. The point name, if defined, is available
through this.point.name.
formatter: function() {
return ''+ (this.point ? this.point.name : this.series.name) +'
'+
'X value: '+ this.x +'
'+
'Y value: '+ this.y;
}
.highcharts-tooltip.
Default value:
style: {
color: '#333333',
fontSize: '9pt',
padding: '5px'
}
toolbar
itemStyle: {
color: '#4572A7',
fontSize: '9pt',
cursor: 'pointer',
margin: '20px'
}
credits
itemStyle: {
position: 'absolute',
right: '50px',
bottom: '5px',
color: '#999',
fontSize: '10px',
textDecoration: 'none'
}
colors
colors: [ '#4572A7', '#AA4643', '#89A54E', '#80699B', '#3D96AE', '#DB843D', '#92A8CD', '#A47D7C', '#B5CA92' ]
symbols
symbols: [ 'circle', 'diamond', 'square', 'triangle', 'triangle-down' ]
lang
Highcharts.setOptions to
set it before any chart is initiated.
Highcharts.setOptions({
lang: {
months: ['Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin',
'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'],
weekdays: ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi']
}
});
chart.showLoading.
series
plotOptions for that specific
type of plot can be added to a series individually. For example, even though a general
lineWidth is specified in plotOptions.series, an individual
lineWidth can be specified for each series.- A list of numberical values. In this case, the numberical values will
be interpreted and y values, and x values will be automatically calculated,
either starting at 0 and incrementing by 1, or from
pointStartandpointIntervalgiven in the plotOptions. If the axis is has categories, these will be used. Example:data: [0, 5, 3, 5]
- A list of arrays with two values. In this case, the first value is the
x value and the second is the y value. Example:
data: [[5, 2], [6, 3], [8, 2]]
- A list of object with named values. In this case the objects are
point configuration objects as seen under
options.point. Example:
data: [{ name: 'Point 1', color: '#00FF00', y: 0 }, { name: 'Point 2', color: '#FF00FF', y: 5 }]
dataParser function
below is used to prepare the data and return in one of the forms above.
data
or dataURL members. The data is passed as the first argument
to the function. Return the parsed data in one of the forms given under data
above.
data above, it can be parsed using dataParser,
area, areaspline,
bar, column, line, pie,
scatter or spline.
point
chart.get().
point.events
Extends plotOptions.series.point.events
point.marker
Extends plotOptions.series.marker
The Chart object
The chart object is the JavaScript object representing a single chart in the web page.
The pointer to your chart object is returned when a chart is created using
the Highcharts.Chart() constructor:
var chart1 = new Highcharts.Chart(options);
Methods
Add a series to the chart after render time.
Parameters
-
options: Object
The series options, as documented under plotOptions.series and under the plotOptions for each series type. -
redraw: Boolean
Defaults totrue. Whether to redraw the chart after the series is added. See theredraw()method below.
Returns
- The series added, if successful.
Get an axis, series or point by its id as given in the configuration options.
Parameters
-
id: String
The id of the axis, series or point to get.
Returns
- The first Axis, Series or Point with a matching id if found,
nullif not.
Returns an array of all currently selected points in the chart. Points can be selected either
programmatically by the point.select() method or by clicking.
Returns
- An array of the selected points.
Returns an array of all currently selected series in the chart. Series can be selected either
programmatically by the series.select() method or by checking the checkbox
next to the legend item if series.showCheckBox is true.
Returns
- An array of the selected Series items.
Hide the loading screen. Options for the loading screen are defined at options.loading.
Redraw the chart after changes have been done to the data or axis extremes. All methods
for updating axes, series or points have a parameter for redrawing the chart. This is
true by default. But in many cases you want to do more than one operation
on the chart before redrawing, for example add a number of points. In those cases it is
a waste of resources to redraw the chart for each new point added. So you add the points
and call chart.redraw() after.
The chart.redraw() method only
redraws those parts of the chart that are actually changed. If the data of a series is
changed and it doesn't affect the axes, only the series itself is redrawn. If the new
data requires the axis extremes to be altered, the axis and all other series depending
on it are redrawn.
Dim the chart's plot area and show a loading label text. Options for the loading screen are defined at options.loading.
Properties
chart.xAxis[0].
chart.yAxis[0].
The Axis object
A chart can have from 0 axes (pie chart) to multiples. In a normal, single series cartesian chart, there is one X axis and one Y axis.
The X axis or axes are referenced
by chart.xAxis, which is an array of Axis objects. If there is only one
axis, it can be referenced through chart.xAxis[0], and multiple axes have
increasing indices. The same pattern goes for Y axes.
If you need to get the axes from a series object, use the series.xAxis and
series.yAxis properties. These are not arrays, as one series can only be associatedd
to one X and one Y axis.
A third way to reference the axis programmatically is by id. Add an id in the
axis configuration options, and get the axis by chart.get(id).
Configuration options for the axes are given in options.xAxis and options.yAxis.
Methods
Get the current extremes for the axis.
Returns
An object containing the following properties:
- dataMax: The maximum value of the axis' associates series.
- dataMin: The minimum value of the axis' associates series.
- max: The maximum axis value.
- min: The minimum axis value.
Set the minimum and maximum of the axes after render time.
Parameters
- min: Number
The new minimum value - max: Number
The new maximum value - redraw: Boolean
Defaults totrue. Whether to redraw the chart or wait for an explicit call tochart.redraw().
The Series object
The Series object is the JavaScript representation of each line, area series, pie etc.
The object can be accessed in a number of ways. All series and point event handlers
give a reference to the series object. The chart object has a series
property that is a collection of all the chart's series. The point objects
also have the same reference.
Another way to reference the series programmatically is by id. Add an id in the
series configuration options, and get the series object by chart.get(id).
Configuration options for the series are given in three levels. Options for all series in a chart are given in the plotOptions.series object. Then options for all series of a specific type are given in the plotOptions of that type, for example plotOptions.line. Next, options for one single series are given in the series array.
Methods
Add a point to the series after render time.
Parameters
-
options: Number|Array|Object
The point options. If options is a single number, a point with that y value is appended to the series. If it is an array, it will be interpreted as x and y values respectively. If it is an object, advanced options as outlined under options.point are applied. -
redraw: Boolean
Defaults totrue. Whether to redraw the chart after the point is added. When adding more than one point, it is highly recommended that theredrawoption be set to false, and insteadchart.redraw()is explicitly called after the adding of points is finished. -
shift: Boolean
Defaults tofalse. When shift is true, one point is shifted off the start of the series as one is appended to the end. Use this option for live charts monitoring a value over time.
Hides the series if visible. If the rescaleAxesWhenHidden series option is true,
the chart is redrawn without this series.
Remove the series from the chart.
Parameters
-
redraw: Boolean
Defaults totrue. Whether to redraw the chart after the series is removed. If doing more operations on the chart, it is a good idea to set redraw to false and callchart.redraw()after.
Shows the series if hidden.
Select or unselect the series. This means its selected property is set,
the checkbox in the legend is toggled and when selected, the series is returned in the
chart.getSelectedSeries() method.
Parameters
- selected: Boolean|null
Whentrue, the series is selected. Whenfalseit is unselected. Whennullorundefined, the series' selection state is toggled.
Apply a new set of data to the point and optionally redraw the series
Parameters
-
data: Array<Number>|Array<Array>|Array<Object>
Takes an array of data in the same format as given at options.series => data. -
redraw: Boolean
Defaults totrue. Whether to redraw the chart after the series is altered. If doing more operations on the chart, it is a good idea to set redraw to false and callchart.redraw()after.
Properties
series.select().
series.show(),
series.hide(), or the initial configuration.
The Point object
The Point object is the JavaScript representation of each data point
The object can be accessed in a number of ways. In all point event handlers the
point object is this. In the series object all the points
are accessed by the series.data array.
Another way to reference the point programmatically is by id. Add an id in the
point configuration options, and get the point object by chart.get(id).
Methods
Remove the point from the series.
Parameters
-
redraw: Boolean
Defaults totrue. 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.
Select or unselect the point.
Parameters
-
select: Boolean
Whentrue, the point is selected. Whenfalse, the point is unselected. Whennullorundefined, the selection state is toggled. -
accumulate: Boolean
Whentrue, the selection is added to other selected points. Whenfalse, other selected points are deselected. Internally in Highcharts, selected points are accumulated on Control, Shift or Cmd clicking the point.
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.
Parameters
-
sliced: Boolean
Whentrue, the point is sliced out. Whenfalse, the point is set in. Whennullorundefined, the sliced state is toggled. -
redraw: Boolean
Defaults totrue. Whether to redraw the chart after the point is altered.
Update the point with new values.
Parameters
-
options: Number|Array|Object
The point options. If options is a single number, the point will be given that number as the y value. If it is an array, it will be interpreted as x and y values respectively. If it is an object, advanced options as outlined under options.point are applied. -
redraw: Boolean
Defaults totrue. 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.