Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Highcharts Scatter Plot

Highcharts Scatter Plot

In this chapter we will introduce Highcharts scatter plots.

We learned the Highcharts configuration syntax in the previous chapters. Now let's look at other Highcharts configurations.


Configure

chart Configuration

Set the type of chart to 'scatter'. chart.type describes the chart type. The default value is "line".

The chart.zoomType property configures chart zooming. Zoom by dragging the mouse, along the X or Y axis, and can be set to: 'x', 'y', 'xy'.



var chart = {

   type: 'scatter',

   zoomType: 'xy'

};

Example

Filename: highcharts_scatter_basic.htm









Highcharts 教程 | Runoob Tutorial(runoob.com)









The output of the above example is: