$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1380585600000,10.1887],[1380672000000,10.1887],[1380758400000,10.1887],[1380844800000,10.1887],[1380931200000,10.1887],[1381017600000,10.1887],[1381104000000,10.1887],[1381190400000,10.19],[1381276800000,10.19],[1381363200000,10.19],[1381449600000,10.19],[1381536000000,10.1913],[1381622400000,10.1913],[1381708800000,10.1913],[1381795200000,10.1913],[1381881600000,10.1913],[1381968000000,10.1913],[1382054400000,10.1913],[1382140800000,10.1913],[1382227200000,10.1913],[1382313600000,10.1913],[1382400000000,10.1913],[1382486400000,10.19],[1382572800000,10.19],[1382659200000,10.19],[1382745600000,10.19],[1382832000000,10.19],[1382918400000,10.19],[1383004800000,10.19],[1383091200000,10.1887],[1383177600000,10.1887]], 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, 10.188655],[1380585600000, 10.188655],[1380672000000, 10.188655],[1380758400000, 10.188655],[1380844800000, 10.188655],[1380931200000, 10.188655],[1381017600000, 10.188655],[1381104000000, 10.188655],[1381190400000, 10.189954],[1381276800000, 10.189954],[1381363200000, 10.189954],[1381449600000, 10.189954],[1381536000000, 10.191253],[1381622400000, 10.191253],[1381708800000, 10.191253],[1381795200000, 10.191253],[1381881600000, 10.191253],[1381968000000, 10.191253],[1382054400000, 10.191253],[1382140800000, 10.191253],[1382227200000, 10.191253],[1382313600000, 10.191253],[1382400000000, 10.191253],[1382486400000, 10.189954],[1382572800000, 10.189954],[1382659200000, 10.189954],[1382745600000, 10.189954],[1382832000000, 10.189954],[1382918400000, 10.189954],[1383004800000, 10.189954],[1383091200000, 10.188655],[1383177600000, 10.188655]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });