$(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: [[1288569600000,0.445657],[1288656000000,0.449443],[1288742400000,0.453079],[1288828800000,0.453062],[1288915200000,0.462189],[1289001600000,0.453409],[1289088000000,0.453409],[1289174400000,0.453409],[1289260800000,0.448328],[1289347200000,0.448744],[1289433600000,0.442443],[1289520000000,0.440503],[1289606400000,0.44143],[1289692800000,0.44143],[1289779200000,0.44143],[1289865600000,0.438912],[1289952000000,0.438984],[1290038400000,0.435081],[1290124800000,0.439491],[1290211200000,0.439096],[1290297600000,0.439096],[1290384000000,0.439096],[1290470400000,0.438832],[1290556800000,0.434065],[1290643200000,0.42893],[1290729600000,0.427797],[1290816000000,0.424591],[1290902400000,0.424591],[1290988800000,0.424591],[1291075200000,0.421492]], 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: [[1288569600000, 0.445657],[1288569600000, 0.445657],[1288656000000, 0.449443],[1288742400000, 0.453079],[1288828800000, 0.453062],[1288915200000, 0.462189],[1289001600000, 0.453409],[1289088000000, 0.453409],[1289174400000, 0.453409],[1289260800000, 0.448328],[1289347200000, 0.448744],[1289433600000, 0.442443],[1289520000000, 0.440503],[1289606400000, 0.441430],[1289692800000, 0.441430],[1289779200000, 0.441430],[1289865600000, 0.438912],[1289952000000, 0.438984],[1290038400000, 0.435081],[1290124800000, 0.439491],[1290211200000, 0.439096],[1290297600000, 0.439096],[1290384000000, 0.439096],[1290470400000, 0.438832],[1290556800000, 0.434065],[1290643200000, 0.428930],[1290729600000, 0.427797],[1290816000000, 0.424591],[1290902400000, 0.424591],[1290988800000, 0.424591],[1291075200000, 0.421492]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });