$(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: [[1251763200000,6.67285],[1251849600000,6.68143],[1251936000000,6.6355],[1252022400000,6.71861],[1252108800000,6.74104],[1252195200000,6.74104],[1252281600000,6.74104],[1252368000000,6.84072],[1252454400000,6.90165],[1252540800000,6.89614],[1252627200000,6.85403],[1252713600000,6.90289],[1252800000000,6.90289],[1252886400000,6.90289],[1252972800000,6.86452],[1253059200000,6.87371],[1253145600000,6.97201],[1253232000000,6.98521],[1253318400000,6.95261],[1253404800000,6.95261],[1253491200000,6.95261],[1253577600000,6.89685],[1253664000000,6.99329],[1253750400000,7.00133],[1253836800000,7.005],[1253923200000,6.92896],[1254009600000,6.92896],[1254096000000,6.92896],[1254182400000,6.94112],[1254268800000,6.98247]], 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: [[1251763200000, 6.672851],[1251763200000, 6.672851],[1251849600000, 6.681430],[1251936000000, 6.635501],[1252022400000, 6.718611],[1252108800000, 6.741040],[1252195200000, 6.741040],[1252281600000, 6.741040],[1252368000000, 6.840718],[1252454400000, 6.901645],[1252540800000, 6.896139],[1252627200000, 6.854026],[1252713600000, 6.902889],[1252800000000, 6.902889],[1252886400000, 6.902889],[1252972800000, 6.864520],[1253059200000, 6.873714],[1253145600000, 6.972013],[1253232000000, 6.985212],[1253318400000, 6.952615],[1253404800000, 6.952615],[1253491200000, 6.952615],[1253577600000, 6.896849],[1253664000000, 6.993293],[1253750400000, 7.001332],[1253836800000, 7.005001],[1253923200000, 6.928962],[1254009600000, 6.928962],[1254096000000, 6.928962],[1254182400000, 6.941116],[1254268800000, 6.982474]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });