$(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: [[1328054400000,0.417946],[1328140800000,0.418429],[1328227200000,0.415956],[1328313600000,0.419504],[1328400000000,0.419504],[1328486400000,0.419504],[1328572800000,0.41714],[1328659200000,0.419076],[1328745600000,0.427446],[1328832000000,0.424934],[1328918400000,0.417424],[1329004800000,0.417424],[1329091200000,0.417424],[1329177600000,0.422715],[1329264000000,0.419155],[1329350400000,0.415495],[1329436800000,0.410376],[1329523200000,0.420455],[1329609600000,0.420455],[1329696000000,0.420455],[1329782400000,0.425431],[1329868800000,0.42393],[1329955200000,0.419789],[1330041600000,0.423637],[1330128000000,0.427911],[1330214400000,0.427911],[1330300800000,0.427911],[1330387200000,0.426544],[1330473600000,0.431538]], 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: [[1328054400000, 0.417946],[1328054400000, 0.417946],[1328140800000, 0.418429],[1328227200000, 0.415956],[1328313600000, 0.419504],[1328400000000, 0.419504],[1328486400000, 0.419504],[1328572800000, 0.417140],[1328659200000, 0.419076],[1328745600000, 0.427446],[1328832000000, 0.424934],[1328918400000, 0.417424],[1329004800000, 0.417424],[1329091200000, 0.417424],[1329177600000, 0.422715],[1329264000000, 0.419155],[1329350400000, 0.415495],[1329436800000, 0.410376],[1329523200000, 0.420455],[1329609600000, 0.420455],[1329696000000, 0.420455],[1329782400000, 0.425431],[1329868800000, 0.423930],[1329955200000, 0.419789],[1330041600000, 0.423637],[1330128000000, 0.427911],[1330214400000, 0.427911],[1330300800000, 0.427911],[1330387200000, 0.426544],[1330473600000, 0.431538]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });