Scatter charts with multiple series

Just as with any other chart type you have learned so far, scatter charts can also be plotted with multiple series.

Copy the code from the previous example and add another series for earthquake data for Ocotillo, California:

{
  name: 'Ocotillo',
  data: [[0.1, 5.0], [4.6, 4.6], [4.4, 4.6], [2.3, 4.5], [10, 4.4], [10, 4.2], [4.9, 4.0], [0.4, 4.5], [13.6, 4.9], [14.4, 4.8], [0, 4.7], [3, 4.6], [6, 4.6], [1.2, 4.5], [6.8, 4.5], [12.6, 4.4], [5.6, 4.4], [10, 4.2], [1, 4.1], [0.5, 4.0], [14.1, 4.0]]
}

The series for Ocotillo will be added to the previous chart.

Scatter charts with multiple series
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.77.63