$(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: [[1388534400000,10.1887],[1388620800000,10.1887],[1388707200000,10.1887],[1388793600000,10.1887],[1388880000000,10.1887],[1388966400000,10.1887],[1389052800000,10.1887],[1389139200000,10.1887],[1389225600000,10.1887],[1389312000000,10.19],[1389398400000,10.19],[1389484800000,10.19],[1389571200000,10.19],[1389657600000,10.19],[1389744000000,10.1887],[1389830400000,10.1887],[1389916800000,10.1887],[1390003200000,10.19],[1390089600000,10.19],[1390176000000,10.19],[1390262400000,10.19],[1390348800000,10.19],[1390435200000,10.19],[1390521600000,10.1913],[1390608000000,10.1913],[1390694400000,10.1913],[1390780800000,10.1913],[1390867200000,10.1913],[1390953600000,10.1913],[1391040000000,10.1913],[1391126400000,10.1926],[1391212800000,10.1926],[1391299200000,10.1926],[1391385600000,10.1926],[1391472000000,10.1913],[1391558400000,10.1913],[1391644800000,10.1913],[1391731200000,11.1029],[1391817600000,10.8736],[1391904000000,10.8736],[1391990400000,10.8736],[1392076800000,10.9055],[1392163200000,10.9023],[1392249600000,10.9009],[1392336000000,11.0032],[1392422400000,11.0154],[1392508800000,11.0154],[1392595200000,11.0154],[1392681600000,11.0222],[1392768000000,11.0746],[1392854400000,11.1999],[1392940800000,11.2672],[1393027200000,11.3932],[1393113600000,11.3932],[1393200000000,11.3932],[1393286400000,11.5203],[1393372800000,12.0164],[1393459200000,12.1324],[1393545600000,12.7295],[1393632000000,12.3654],[1393718400000,12.3654],[1393804800000,12.3654],[1393891200000,12.7389],[1393977600000,12.3969],[1394064000000,12.046],[1394150400000,11.9683],[1394236800000,11.7745],[1394323200000,11.7745],[1394409600000,11.7745],[1394496000000,11.7745],[1394582400000,11.853],[1394668800000,11.8336],[1394755200000,12.0804],[1394841600000,12.2411],[1394928000000,12.2411],[1395014400000,12.2411],[1395100800000,12.4401],[1395187200000,12.699],[1395273600000,12.6454],[1395360000000,12.8895],[1395446400000,13.0008],[1395532800000,13.0008],[1395619200000,13.0008],[1395705600000,13.2299],[1395792000000,13.4844],[1395878400000,13.6072],[1395964800000,13.8342],[1396051200000,13.9674],[1396137600000,13.9674],[1396224000000,13.9674],[1396310400000,14.0228],[1396396800000,14.1607],[1396483200000,14.3333],[1396569600000,14.3098],[1396656000000,14.3098],[1396742400000,14.3098],[1396828800000,14.3098]], 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: [[1389744000000, 10.189828],[1389744000000, 10.189828],[1392422400000, 11.027708],[1394841600000, 12.631243],[1397520000000, 14.250870]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });