$(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: [[1109635200000,4.19897],[1109721600000,4.1756],[1109808000000,4.13393],[1109894400000,4.15889],[1109980800000,4.15694],[1110067200000,4.15694],[1110153600000,4.15694],[1110240000000,4.15694],[1110326400000,4.15694],[1110412800000,4.19463],[1110499200000,4.19346],[1110585600000,4.19329],[1110672000000,4.19329],[1110758400000,4.19329],[1110844800000,4.16613],[1110931200000,4.18956],[1111017600000,4.18743],[1111104000000,4.19588],[1111190400000,4.18199],[1111276800000,4.18199],[1111363200000,4.18199],[1111449600000,null],[1111536000000,4.17178],[1111622400000,4.10449],[1111708800000,4.08018],[1111795200000,4.08018],[1111881600000,4.08018],[1111968000000,4.08018],[1112054400000,4.08018],[1112140800000,4.07869],[1112227200000,4.07084]], 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: [[1109635200000, 4.198974],[1109635200000, 4.198974],[1109721600000, 4.175597],[1109808000000, 4.133930],[1109894400000, 4.158892],[1109980800000, 4.156941],[1110067200000, 4.156941],[1110153600000, 4.156941],[1110240000000, 4.156941],[1110326400000, 4.156941],[1110412800000, 4.194627],[1110499200000, 4.193459],[1110585600000, 4.193292],[1110672000000, 4.193292],[1110758400000, 4.193292],[1110844800000, 4.166131],[1110931200000, 4.189557],[1111017600000, 4.187428],[1111104000000, 4.195885],[1111190400000, 4.181992],[1111276800000, 4.181992],[1111363200000, 4.181992],[1111536000000, 4.171781],[1111622400000, 4.104493],[1111708800000, 4.080179],[1111795200000, 4.080179],[1111881600000, 4.080179],[1111968000000, 4.080179],[1112054400000, 4.080179],[1112140800000, 4.078687],[1112227200000, 4.070839]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });