Create line chart with four series
Description
The following code shows how to create line chart with four series.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type='text/javascript'>
$(function () {<!--from ww w.j a va 2 s . c o m-->
$('#container').highcharts({
xAxis: {
categories: ['Jan','Feb','Mar']
},
series: [{
name: 'Tokyo',
data: [49.9, 71.5, 106.4]
}, {
name: 'New York',
data: [83.6, 78.8, 98.5]
}, {
name: 'London',
data: [48.9, 38.8, 39.3]
}, {
name: 'Berlin',
data: [42.4, 33.2, 34.5]
}]
});
});
</script>
</head>
<body>
<script src="http://code.highcharts.com/highcharts.js"></script>
<div id="container" style="height: 400px"></div>
</body>
</html>