Code: Select all
<script type="text/javascript">
$(function () {
$('#container').highcharts('StockChart',{
chart: {
type: 'candlestick'
},
title: {
text: 'My first Candlestick Chart'
},
series: [{
data: [{
date: 2016-08-01,
open: 30,
high: 44,
low: 20,
close: 25
}, {
date: 2016-08-02,
open: 35,
high: 45,
low: 22,
close: 27
}]
}]
});
});
</script>
I' wondering about the poor documentation of data usage. There exists many examples, but all examples are very identical and offer extremely limited insight how to use Data. How should JSON-formated Data or XML-formated Data or CSV-formated data look like? Could you give me help how to use `date` in Time Series data?