$(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: 'Курс SEK, грн'}, 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: 'Курс SEK', data: [[1288569600000,1.17106],[1288656000000,1.18861],[1288742400000,1.19065],[1288828800000,1.19033],[1288915200000,1.21892],[1289001600000,1.19977],[1289088000000,1.19977],[1289174400000,1.19977],[1289260800000,1.18546],[1289347200000,1.18512],[1289433600000,1.17151],[1289520000000,1.16553],[1289606400000,1.16181],[1289692800000,1.16181],[1289779200000,1.16181],[1289865600000,1.15371],[1289952000000,1.15218],[1290038400000,1.13863],[1290124800000,1.15766],[1290211200000,1.15536],[1290297600000,1.15536],[1290384000000,1.15536],[1290470400000,1.15418],[1290556800000,1.14129],[1290643200000,1.13959],[1290729600000,1.14073],[1290816000000,1.12797],[1290902400000,1.12797],[1290988800000,1.12797],[1291075200000,1.13175]], 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, 1.171058],[1288569600000, 1.171058],[1288656000000, 1.188615],[1288742400000, 1.190650],[1288828800000, 1.190333],[1288915200000, 1.218920],[1289001600000, 1.199770],[1289088000000, 1.199770],[1289174400000, 1.199770],[1289260800000, 1.185461],[1289347200000, 1.185122],[1289433600000, 1.171505],[1289520000000, 1.165534],[1289606400000, 1.161806],[1289692800000, 1.161806],[1289779200000, 1.161806],[1289865600000, 1.153709],[1289952000000, 1.152184],[1290038400000, 1.138627],[1290124800000, 1.157661],[1290211200000, 1.155358],[1290297600000, 1.155358],[1290384000000, 1.155358],[1290470400000, 1.154182],[1290556800000, 1.141290],[1290643200000, 1.139592],[1290729600000, 1.140731],[1290816000000, 1.127969],[1290902400000, 1.127969],[1290988800000, 1.127969],[1291075200000, 1.131749]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });