$(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: [[1164931200000,0.23831],[1165017600000,0.239292],[1165104000000,0.239292],[1165190400000,0.239292],[1165276800000,0.240012],[1165363200000,0.240271],[1165449600000,0.239278],[1165536000000,0.240095],[1165622400000,0.239759],[1165708800000,0.239759],[1165795200000,0.239759],[1165881600000,0.238526],[1165968000000,0.239678],[1166054400000,0.240273],[1166140800000,0.239269],[1166227200000,0.238463],[1166313600000,0.238463],[1166400000000,0.238463],[1166486400000,0.238736],[1166572800000,0.239495],[1166659200000,0.24318],[1166745600000,0.241776],[1166832000000,0.241612],[1166918400000,0.241612],[1167004800000,0.241612],[1167091200000,0.241612],[1167177600000,0.241612],[1167264000000,0.240859],[1167350400000,0.241553],[1167436800000,0.241981]], 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: [[1164931200000, 0.238310],[1164931200000, 0.238310],[1165017600000, 0.239292],[1165104000000, 0.239292],[1165190400000, 0.239292],[1165276800000, 0.240012],[1165363200000, 0.240271],[1165449600000, 0.239278],[1165536000000, 0.240095],[1165622400000, 0.239759],[1165708800000, 0.239759],[1165795200000, 0.239759],[1165881600000, 0.238526],[1165968000000, 0.239678],[1166054400000, 0.240273],[1166140800000, 0.239269],[1166227200000, 0.238463],[1166313600000, 0.238463],[1166400000000, 0.238463],[1166486400000, 0.238736],[1166572800000, 0.239495],[1166659200000, 0.243180],[1166745600000, 0.241776],[1166832000000, 0.241612],[1166918400000, 0.241612],[1167004800000, 0.241612],[1167091200000, 0.241612],[1167177600000, 0.241612],[1167264000000, 0.240859],[1167350400000, 0.241553],[1167436800000, 0.241981]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });