$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1362096000000,10.494],[1362182400000,10.3909],[1362268800000,10.3909],[1362355200000,10.3909],[1362441600000,10.3965],[1362528000000,10.4181],[1362614400000,10.4189],[1362700800000,10.3989],[1362787200000,10.3989],[1362873600000,10.3989],[1362960000000,10.3989],[1363046400000,10.3861],[1363132800000,10.4333],[1363219200000,10.3757],[1363305600000,10.3405],[1363392000000,10.4596],[1363478400000,10.4596],[1363564800000,10.4596],[1363651200000,10.3341],[1363737600000,10.3461],[1363824000000,10.3469],[1363910400000,10.319],[1363996800000,10.3493],[1364083200000,10.3493],[1364169600000,10.3493],[1364256000000,10.3389],[1364342400000,10.2798],[1364428800000,10.2055],[1364515200000,10.235],[1364601600000,10.235],[1364688000000,10.235]], 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: [[1362096000000, 10.494010],[1362096000000, 10.494010],[1362182400000, 10.390900],[1362268800000, 10.390900],[1362355200000, 10.390900],[1362441600000, 10.396495],[1362528000000, 10.418076],[1362614400000, 10.418876],[1362700800000, 10.398893],[1362787200000, 10.398893],[1362873600000, 10.398893],[1362960000000, 10.398893],[1363046400000, 10.386104],[1363132800000, 10.433263],[1363219200000, 10.375713],[1363305600000, 10.340544],[1363392000000, 10.459640],[1363478400000, 10.459640],[1363564800000, 10.459640],[1363651200000, 10.334150],[1363737600000, 10.346139],[1363824000000, 10.346939],[1363910400000, 10.318963],[1363996800000, 10.349336],[1364083200000, 10.349336],[1364169600000, 10.349336],[1364256000000, 10.338946],[1364342400000, 10.279797],[1364428800000, 10.205462],[1364515200000, 10.235037],[1364601600000, 10.235037],[1364688000000, 10.235037]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });