$(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: [[1191196800000,7.1604],[1191283200000,7.18716],[1191369600000,7.15332],[1191456000000,7.16847],[1191542400000,7.12505],[1191628800000,7.13868],[1191715200000,7.13868],[1191801600000,7.13868],[1191888000000,7.11494],[1191974400000,7.08868],[1192060800000,7.14373],[1192147200000,7.17049],[1192233600000,7.15737],[1192320000000,7.15737],[1192406400000,7.15737],[1192492800000,7.18413],[1192579200000,7.14575],[1192665600000,7.171],[1192752000000,7.221],[1192838400000,7.21544],[1192924800000,7.21544],[1193011200000,7.21544],[1193097600000,7.15383],[1193184000000,7.19827],[1193270400000,7.18615],[1193356800000,7.22605],[1193443200000,7.26392],[1193529600000,7.26392],[1193616000000,7.26392],[1193702400000,7.26745],[1193788800000,7.27553]], 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: [[1191196800000, 7.160395],[1191196800000, 7.160395],[1191283200000, 7.187160],[1191369600000, 7.153325],[1191456000000, 7.168475],[1191542400000, 7.125045],[1191628800000, 7.138680],[1191715200000, 7.138680],[1191801600000, 7.138680],[1191888000000, 7.114945],[1191974400000, 7.088685],[1192060800000, 7.143730],[1192147200000, 7.170495],[1192233600000, 7.157365],[1192320000000, 7.157365],[1192406400000, 7.157365],[1192492800000, 7.184130],[1192579200000, 7.145750],[1192665600000, 7.171000],[1192752000000, 7.220995],[1192838400000, 7.215440],[1192924800000, 7.215440],[1193011200000, 7.215440],[1193097600000, 7.153830],[1193184000000, 7.198270],[1193270400000, 7.186150],[1193356800000, 7.226045],[1193443200000, 7.263920],[1193529600000, 7.263920],[1193616000000, 7.263920],[1193702400000, 7.267455],[1193788800000, 7.275535]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });