$(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: 'Курс JPY, грн'}, 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: 'Курс JPY', data: [[1291161600000,0.0946588],[1291248000000,0.0943253],[1291334400000,0.0941252],[1291420800000,0.0948942],[1291507200000,0.0948942],[1291593600000,0.0948942],[1291680000000,0.096032],[1291766400000,0.0962262],[1291852800000,0.0944891],[1291939200000,0.0946404],[1292025600000,0.0950639],[1292112000000,0.0950639],[1292198400000,0.0950639],[1292284800000,0.0945888],[1292371200000,0.0958383],[1292457600000,0.0950903],[1292544000000,0.0947347],[1292630400000,0.0949092],[1292716800000,0.0949092],[1292803200000,0.0949092],[1292889600000,0.0950919],[1292976000000,0.0952362],[1293062400000,0.0952019],[1293148800000,0.0954889],[1293235200000,0.0960027],[1293321600000,0.0960027],[1293408000000,0.0960027],[1293494400000,0.0960391],[1293580800000,0.0970857],[1293667200000,0.0968213],[1293753600000,0.0976824]], 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: [[1291161600000, 0.094659],[1291161600000, 0.094659],[1291248000000, 0.094325],[1291334400000, 0.094125],[1291420800000, 0.094894],[1291507200000, 0.094894],[1291593600000, 0.094894],[1291680000000, 0.096032],[1291766400000, 0.096226],[1291852800000, 0.094489],[1291939200000, 0.094640],[1292025600000, 0.095064],[1292112000000, 0.095064],[1292198400000, 0.095064],[1292284800000, 0.094589],[1292371200000, 0.095838],[1292457600000, 0.095090],[1292544000000, 0.094735],[1292630400000, 0.094909],[1292716800000, 0.094909],[1292803200000, 0.094909],[1292889600000, 0.095092],[1292976000000, 0.095236],[1293062400000, 0.095202],[1293148800000, 0.095489],[1293235200000, 0.096003],[1293321600000, 0.096003],[1293408000000, 0.096003],[1293494400000, 0.096039],[1293580800000, 0.097086],[1293667200000, 0.096821],[1293753600000, 0.097682]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });