$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1380585600000,1.44738],[1380672000000,1.45259],[1380758400000,1.44833],[1380844800000,1.45659],[1380931200000,1.45646],[1381017600000,1.45646],[1381104000000,1.45646],[1381190400000,1.45423],[1381276800000,1.45462],[1381363200000,1.44816],[1381449600000,1.44816],[1381536000000,1.45366],[1381622400000,1.45366],[1381708800000,1.45366],[1381795200000,1.45353],[1381881600000,1.44594],[1381968000000,1.45321],[1382054400000,1.46403],[1382140800000,1.46644],[1382227200000,1.46644],[1382313600000,1.46644],[1382400000000,1.46449],[1382486400000,1.46518],[1382572800000,1.47353],[1382659200000,1.47921],[1382745600000,1.47633],[1382832000000,1.47633],[1382918400000,1.47633],[1383004800000,1.47696],[1383091200000,1.47539],[1383177600000,1.47405]], 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: [[1380585600000, 1.447378],[1380585600000, 1.447378],[1380672000000, 1.452591],[1380758400000, 1.448333],[1380844800000, 1.456585],[1380931200000, 1.456458],[1381017600000, 1.456458],[1381104000000, 1.456458],[1381190400000, 1.454227],[1381276800000, 1.454617],[1381363200000, 1.448159],[1381449600000, 1.448159],[1381536000000, 1.453662],[1381622400000, 1.453662],[1381708800000, 1.453662],[1381795200000, 1.453526],[1381881600000, 1.445937],[1381968000000, 1.453205],[1382054400000, 1.464028],[1382140800000, 1.466444],[1382227200000, 1.466444],[1382313600000, 1.466444],[1382400000000, 1.464485],[1382486400000, 1.465176],[1382572800000, 1.473534],[1382659200000, 1.479213],[1382745600000, 1.476331],[1382832000000, 1.476331],[1382918400000, 1.476331],[1383004800000, 1.476963],[1383091200000, 1.475387],[1383177600000, 1.474053]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });