$(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: [[1164931200000,3.97899],[1165017600000,3.9863],[1165104000000,3.9863],[1165190400000,3.9863],[1165276800000,3.97601],[1165363200000,3.97271],[1165449600000,3.96837],[1165536000000,3.9906],[1165622400000,3.98525],[1165708800000,3.98525],[1165795200000,3.98525],[1165881600000,3.95271],[1165968000000,3.96927],[1166054400000,3.98479],[1166140800000,3.95416],[1166227200000,3.9389],[1166313600000,3.9389],[1166400000000,3.9389],[1166486400000,3.94122],[1166572800000,3.94959],[1166659200000,3.96404],[1166745600000,3.96478],[1166832000000,3.96734],[1166918400000,3.96734],[1167004800000,3.96734],[1167091200000,3.96734],[1167177600000,3.96734],[1167264000000,3.96379],[1167350400000,3.98369],[1167436800000,3.98469]], 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: [[1164931200000, 3.978989],[1164931200000, 3.978989],[1165017600000, 3.986303],[1165104000000, 3.986303],[1165190400000, 3.986303],[1165276800000, 3.976009],[1165363200000, 3.972710],[1165449600000, 3.968370],[1165536000000, 3.990601],[1165622400000, 3.985246],[1165708800000, 3.985246],[1165795200000, 3.985246],[1165881600000, 3.952709],[1165968000000, 3.969270],[1166054400000, 3.984787],[1166140800000, 3.954155],[1166227200000, 3.938898],[1166313600000, 3.938898],[1166400000000, 3.938898],[1166486400000, 3.941221],[1166572800000, 3.949590],[1166659200000, 3.964040],[1166745600000, 3.964784],[1166832000000, 3.967342],[1166918400000, 3.967342],[1167004800000, 3.967342],[1167091200000, 3.967342],[1167177600000, 3.967342],[1167264000000, 3.963791],[1167350400000, 3.983691],[1167436800000, 3.984692]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });