$(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: [[1095120000000,3.70323],[1095206400000,3.71266],[1095292800000,3.71266],[1095379200000,3.69945],[1095465600000,3.717],[1095552000000,3.717],[1095638400000,3.717],[1095724800000,3.71004],[1095811200000,3.73629],[1095897600000,3.73707],[1095984000000,3.78784],[1096070400000,3.79427],[1096156800000,3.79427],[1096243200000,3.79427],[1096329600000,3.78384],[1096416000000,3.80871],[1096502400000,3.80228],[1096588800000,3.82652],[1096675200000,null],[1096761600000,null],[1096848000000,3.84136],[1096934400000,3.82729],[1097020800000,3.83815],[1097107200000,3.82851],[1097193600000,3.85907],[1097280000000,3.85907],[1097366400000,3.85907],[1097452800000,3.85723],[1097539200000,3.89583],[1097625600000,3.87597],[1097712000000,3.83262],[1097798400000,3.86669],[1097884800000,null],[1097971200000,3.8715],[1098057600000,3.8715],[1098144000000,3.87035],[1098230400000,3.86493],[1098316800000,3.89791],[1098403200000,3.9062],[1098489600000,3.91054],[1098576000000,3.91054],[1098662400000,3.91054],[1098748800000,3.96338],[1098835200000,3.96182],[1098921600000,3.97428],[1099008000000,3.93828],[1099094400000,3.95534],[1099180800000,3.95534],[1099267200000,3.95534],[1099353600000,3.96084],[1099440000000,3.95513],[1099526400000,3.99499],[1099612800000,null],[1099699200000,null],[1099785600000,null],[1099872000000,null],[1099958400000,null],[1100044800000,4.04939],[1100131200000,4.04939],[1100217600000,4.02959],[1100304000000,4.06627],[1100390400000,4.06627],[1100476800000,4.06627],[1100563200000,4.09983],[1100649600000,4.10171],[1100736000000,4.13661],[1100822400000,4.14192],[1100908800000,4.1506],[1100995200000,4.1506],[1101081600000,4.1506],[1101168000000,4.15175],[1101254400000,4.17636],[1101340800000,4.18022],[1101427200000,4.1975],[1101513600000,4.17594],[1101600000000,4.17594],[1101686400000,4.17594],[1101772800000,4.16171],[1101859200000,4.11418],[1101945600000,4.09263],[1102032000000,4.13841],[1102118400000,4.1021],[1102204800000,4.1021],[1102291200000,4.1021],[1102377600000,4.11836],[1102464000000,4.12265],[1102550400000,4.01291],[1102636800000,4.00236],[1102723200000,null],[1102809600000,null],[1102896000000,null],[1102982400000,4.02171],[1103068800000,4.0391],[1103155200000,4.04363],[1103241600000,4.05947],[1103328000000,4.0264],[1103414400000,4.0264],[1103500800000,4.0264],[1103587200000,4.05235],[1103673600000,4.06649],[1103760000000,4.07137],[1103846400000,4.06114],[1103932800000,4.08547],[1104019200000,4.08547],[1104105600000,4.08547],[1104192000000,4.09515],[1104278400000,4.13455],[1104364800000,4.13106]], 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: [[1095206400000, 3.748699],[1095206400000, 3.748699],[1097798400000, 3.886780],[1100476800000, 4.100828],[1103068800000, 4.076233]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });