Highcharts Demo
author(s):
Torstein Hønsi
by Mike Jacobson
HTML
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/data.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
JavaScript
Highcharts.chart('container', {
chart: {
type: 'column'
},
title: {
text: 'Data input as row arrays'
},
data: {
rows: [
[null, 'Path to Risk', 'Value Based', 'MA FFS', 'Original Medicare'], // series names
['two', 100, 534, 756], // category and values
['one', 434, 100, 178], // category and values
['JAN', 378, 0, 100], // category and values
['FEB', 334, 100, 656], // category and values
['MAR', 100, 0, 678], // category and values
['APR', 356, 100, 634], // category and values
['MAY', 334, 256, 100], // category and values
['JUN', 100, 278, 634], // category and values
['JUL', 356, 100, 656], // category and values
['AUG', 334, 234, 100], // category and values
['SEP', 100, 243, 656], // category and values
['OCT', 0, 0, 0], // category and values
['NOV', 0, 0, 0], // category and values
['DEC', 0, 0, 0] ,// category and values
]
}
});