$(document).ready(function () { chart = new Highcharts.StockChart({ chart: { renderTo: 'chart', type: 'line', animation: false, showAxes: true, height: 500 }, xAxis: { ordinal: false, type: 'datetime', showEmpty: true, gridLineWidth: 1, gridLineDashStyle: 'dot', ordinal: false }, yAxis: { title: {text: 'Курс CZK, грн'}, lineWidth: 3, gridLineWidth: 1, gridLineDashStyle: 'dash', ordinal: false }, plotOptions: { series: {connectNulls: true, shadow: false}, spline: {marker: {enabled: true}} }, tooltip: {valueDecimals: 8, xDateFormat: '%d %b %Y', shared: true}, series: [ { name: 'Курс CZK', data: [[1417392000000,0.676651],[1417478400000,0.679695],[1417564800000,0.681812],[1417651200000,0.683449],[1417737600000,0.682848],[1417824000000,0.687211],[1417910400000,0.687211],[1417996800000,0.687211],[1418083200000,0.694514],[1418169600000,0.691569],[1418256000000,0.700767],[1418342400000,0.703205],[1418428800000,0.706592],[1418515200000,0.706592],[1418601600000,0.706592],[1418688000000,0.711188],[1418774400000,0.71107],[1418860800000,0.716558],[1418947200000,null],[1419033600000,0.701756],[1419120000000,0.701756],[1419206400000,0.701756],[1419292800000,0.704429],[1419379200000,0.695188],[1419465600000,0.696319],[1419552000000,0.693755],[1419638400000,0.693667],[1419724800000,0.693667],[1419811200000,0.693667],[1419897600000,0.693903],[1419984000000,0.693903]], tooltip: {valueSuffix: ' грн'}, type: 'area', step: true, color: '#888888', fillColor: { linearGradient: {x1: 0, y1: 0, x2: 0, y2: 1}, stops: [[0, '#CCCCCC'], [1, 'rgba(50,50,50,0)']] }, threshold: null }, { name: 'Среднее за период', data: [[1417392000000, 0.676651],[1417392000000, 0.676651],[1417478400000, 0.679695],[1417564800000, 0.681812],[1417651200000, 0.683449],[1417737600000, 0.682848],[1417824000000, 0.687211],[1417910400000, 0.687211],[1417996800000, 0.687211],[1418083200000, 0.694514],[1418169600000, 0.691569],[1418256000000, 0.700767],[1418342400000, 0.703205],[1418428800000, 0.706592],[1418515200000, 0.706592],[1418601600000, 0.706592],[1418688000000, 0.711188],[1418774400000, 0.711070],[1418860800000, 0.716558],[1419033600000, 0.701756],[1419120000000, 0.701756],[1419206400000, 0.701756],[1419292800000, 0.704429],[1419379200000, 0.695188],[1419465600000, 0.696319],[1419552000000, 0.693755],[1419638400000, 0.693667],[1419724800000, 0.693667],[1419811200000, 0.693667],[1419897600000, 0.693903],[1419984000000, 0.693903]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });