$(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: [[1259625600000,7.29399],[1259712000000,7.36345],[1259798400000,7.41463],[1259884800000,7.42251],[1259971200000,7.39916],[1260057600000,7.39916],[1260144000000,7.39916],[1260230400000,7.25582],[1260316800000,7.2606],[1260403200000,7.27066],[1260489600000,7.31872],[1260576000000,7.32783],[1260662400000,7.32783],[1260748800000,7.32783],[1260835200000,7.27346],[1260921600000,7.22447],[1261008000000,7.17264],[1261094400000,7.05858],[1261180800000,7.07266],[1261267200000,7.07266],[1261353600000,7.07266],[1261440000000,7.06391],[1261526400000,6.99855],[1261612800000,6.99147],[1261699200000,7.03906],[1261785600000,7.03862],[1261872000000,7.03862],[1261958400000,7.03862],[1262044800000,7.07285],[1262131200000,7.15722],[1262217600000,7.13949]], 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: [[1259625600000, 7.293990],[1259625600000, 7.293990],[1259712000000, 7.363449],[1259798400000, 7.414626],[1259884800000, 7.422512],[1259971200000, 7.399158],[1260057600000, 7.399158],[1260144000000, 7.399158],[1260230400000, 7.255818],[1260316800000, 7.260602],[1260403200000, 7.270659],[1260489600000, 7.318722],[1260576000000, 7.327829],[1260662400000, 7.327829],[1260748800000, 7.327829],[1260835200000, 7.273465],[1260921600000, 7.224470],[1261008000000, 7.172638],[1261094400000, 7.058580],[1261180800000, 7.072660],[1261267200000, 7.072660],[1261353600000, 7.072660],[1261440000000, 7.063905],[1261526400000, 6.998545],[1261612800000, 6.991467],[1261699200000, 7.039061],[1261785600000, 7.038620],[1261872000000, 7.038620],[1261958400000, 7.038620],[1262044800000, 7.072853],[1262131200000, 7.157220],[1262217600000, 7.139494]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });