$(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: [[1222819200000,3.91968],[1222905600000,3.8767],[1222992000000,3.83025],[1223078400000,3.78453],[1223164800000,3.78453],[1223251200000,3.78453],[1223337600000,3.64424],[1223424000000,3.54933],[1223510400000,3.37857],[1223596800000,3.45652],[1223683200000,3.253],[1223769600000,3.253],[1223856000000,3.253],[1223942400000,3.30242],[1224028800000,3.54872],[1224115200000,3.42633],[1224201600000,3.34929],[1224288000000,3.39121],[1224374400000,3.39121],[1224460800000,3.39121],[1224547200000,3.45689],[1224633600000,3.42592],[1224720000000,3.4274],[1224806400000,3.40551],[1224892800000,3.20643],[1224979200000,3.20643],[1225065600000,3.20643],[1225152000000,3.26834],[1225238400000,3.43829],[1225324800000,3.73934],[1225411200000,3.90996]], 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: [[1222819200000, 3.919678],[1222819200000, 3.919678],[1222905600000, 3.876701],[1222992000000, 3.830247],[1223078400000, 3.784532],[1223164800000, 3.784532],[1223251200000, 3.784532],[1223337600000, 3.644240],[1223424000000, 3.549327],[1223510400000, 3.378572],[1223596800000, 3.456524],[1223683200000, 3.252996],[1223769600000, 3.252996],[1223856000000, 3.252996],[1223942400000, 3.302423],[1224028800000, 3.548717],[1224115200000, 3.426335],[1224201600000, 3.349288],[1224288000000, 3.391211],[1224374400000, 3.391211],[1224460800000, 3.391211],[1224547200000, 3.456888],[1224633600000, 3.425925],[1224720000000, 3.427404],[1224806400000, 3.405508],[1224892800000, 3.206433],[1224979200000, 3.206433],[1225065600000, 3.206433],[1225152000000, 3.268337],[1225238400000, 3.438289],[1225324800000, 3.739341],[1225411200000, 3.909957]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });