$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1154390400000,3.86716],[1154476800000,3.84583],[1154563200000,3.86751],[1154649600000,3.84832],[1154736000000,3.84133],[1154822400000,3.84133],[1154908800000,3.84133],[1154995200000,3.84822],[1155081600000,3.83787],[1155168000000,3.86079],[1155254400000,3.8865],[1155340800000,3.87749],[1155427200000,3.87749],[1155513600000,3.87749],[1155600000000,3.8477],[1155686400000,3.84729],[1155772800000,3.86091],[1155859200000,3.86952],[1155945600000,3.83021],[1156032000000,3.83021],[1156118400000,3.83021],[1156204800000,3.85585],[1156291200000,3.85031],[1156377600000,3.86619],[1156464000000,3.86619],[1156550400000,3.86619],[1156636800000,3.86619],[1156723200000,3.86619],[1156809600000,3.82598],[1156896000000,3.85622],[1156982400000,3.85533]], 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: [[1154390400000, 3.867164],[1154390400000, 3.867164],[1154476800000, 3.845825],[1154563200000, 3.867506],[1154649600000, 3.848322],[1154736000000, 3.841327],[1154822400000, 3.841327],[1154908800000, 3.841327],[1154995200000, 3.848218],[1155081600000, 3.837868],[1155168000000, 3.860795],[1155254400000, 3.886499],[1155340800000, 3.877494],[1155427200000, 3.877494],[1155513600000, 3.877494],[1155600000000, 3.847705],[1155686400000, 3.847288],[1155772800000, 3.860913],[1155859200000, 3.869523],[1155945600000, 3.830209],[1156032000000, 3.830209],[1156118400000, 3.830209],[1156204800000, 3.855848],[1156291200000, 3.850309],[1156377600000, 3.866185],[1156464000000, 3.866185],[1156550400000, 3.866185],[1156636800000, 3.866185],[1156723200000, 3.866185],[1156809600000, 3.825984],[1156896000000, 3.856221],[1156982400000, 3.855325]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });