$(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: [[1396310400000,10.1494],[1396396800000,10.2589],[1396483200000,10.4044],[1396569600000,10.3645],[1396656000000,10.7134],[1396742400000,10.7134],[1396828800000,10.7134],[1396915200000,10.7777],[1397001600000,10.8615],[1397088000000,11.0849],[1397174400000,11.8185],[1397260800000,11.8311],[1397347200000,11.8311],[1397433600000,11.8311],[1397520000000,12.1864],[1397606400000,11.6564],[1397692800000,10.7029],[1397779200000,10.5308],[1397865600000,10.4949],[1397952000000,10.4949],[1398038400000,10.4949],[1398124800000,10.4949],[1398211200000,10.5137],[1398297600000,10.7824],[1398384000000,10.5666],[1398470400000,10.5468],[1398556800000,10.5468],[1398643200000,10.5468],[1398729600000,10.5545],[1398816000000,10.5884]], 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: [[1396310400000, 10.149374],[1396310400000, 10.149374],[1396396800000, 10.258858],[1396483200000, 10.404419],[1396569600000, 10.364451],[1396656000000, 10.713437],[1396742400000, 10.713437],[1396828800000, 10.713437],[1396915200000, 10.777736],[1397001600000, 10.861495],[1397088000000, 11.084912],[1397174400000, 11.818516],[1397260800000, 11.831118],[1397347200000, 11.831118],[1397433600000, 11.831118],[1397520000000, 12.186447],[1397606400000, 11.656354],[1397692800000, 10.702899],[1397779200000, 10.530752],[1397865600000, 10.494890],[1397952000000, 10.494890],[1398038400000, 10.494890],[1398124800000, 10.494890],[1398211200000, 10.513660],[1398297600000, 10.782420],[1398384000000, 10.566593],[1398470400000, 10.546785],[1398556800000, 10.546785],[1398643200000, 10.546785],[1398729600000, 10.554463],[1398816000000, 10.588424]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });