Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
title: {
text: 'Linechart'
},
credits: {
enabled: false
},
series: [
{
name: 'Line 1',
data: [1, 2, 3],
type: 'line'
}
]
});
this.stockChart = new StockChart({
rangeSelector: {
selected: 1
},
title: {
text: 'AAPL Stock Price'
},
series: [
{
name: 'AAPL Stock Price',
data: [
[1482935400000, 116.76],
[1483021800000, 116.73],
[1483108200000, 115.82],
[1483453800000, 116.15],