$(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: [[1267401600000,1.11479],[1267488000000,1.10667],[1267574400000,1.11164],[1267660800000,1.11195],[1267747200000,1.12007],[1267833600000,1.11585],[1267920000000,1.11585],[1268006400000,1.11585],[1268092800000,1.11585],[1268179200000,1.11265],[1268265600000,1.11793],[1268352000000,1.1203],[1268438400000,1.12878],[1268524800000,1.12878],[1268611200000,1.12878],[1268697600000,1.12536],[1268784000000,1.12569],[1268870400000,1.12643],[1268956800000,1.12041],[1269043200000,1.11439],[1269129600000,1.11439],[1269216000000,1.11439],[1269302400000,1.09806],[1269388800000,1.10477],[1269475200000,1.09198],[1269561600000,1.09598],[1269648000000,1.09071],[1269734400000,1.09071],[1269820800000,1.09071],[1269907200000,1.09204],[1269993600000,1.09245]], 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: [[1267401600000, 1.114788],[1267401600000, 1.114788],[1267488000000, 1.106665],[1267574400000, 1.111644],[1267660800000, 1.111948],[1267747200000, 1.120066],[1267833600000, 1.115849],[1267920000000, 1.115849],[1268006400000, 1.115849],[1268092800000, 1.115849],[1268179200000, 1.112655],[1268265600000, 1.117930],[1268352000000, 1.120299],[1268438400000, 1.128784],[1268524800000, 1.128784],[1268611200000, 1.128784],[1268697600000, 1.125358],[1268784000000, 1.125689],[1268870400000, 1.126432],[1268956800000, 1.120411],[1269043200000, 1.114387],[1269129600000, 1.114387],[1269216000000, 1.114387],[1269302400000, 1.098055],[1269388800000, 1.104768],[1269475200000, 1.091981],[1269561600000, 1.095980],[1269648000000, 1.090709],[1269734400000, 1.090709],[1269820800000, 1.090709],[1269907200000, 1.092038],[1269993600000, 1.092450]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });