$(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: [[1272672000000,7.38409],[1272758400000,7.38409],[1272844800000,7.38409],[1272931200000,7.38409],[1273017600000,7.38409],[1273104000000,7.18837],[1273190400000,7.16682],[1273276800000,7.04242],[1273363200000,7.04242],[1273449600000,7.04242],[1273536000000,7.04242],[1273622400000,7.08754],[1273708800000,7.10938],[1273795200000,7.1229],[1273881600000,7.0646],[1273968000000,null],[1274054400000,7.0646],[1274140800000,6.9698],[1274227200000,6.9476],[1274313600000,6.7179],[1274400000000,6.55198],[1274486400000,6.5441],[1274572800000,6.5441],[1274659200000,6.5441],[1274745600000,6.5441],[1274832000000,6.43805],[1274918400000,6.60039],[1275004800000,6.6431],[1275091200000,6.75275],[1275177600000,6.75275],[1275264000000,6.75275]], 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: [[1272672000000, 7.384086],[1272672000000, 7.384086],[1272758400000, 7.384086],[1272844800000, 7.384086],[1272931200000, 7.384086],[1273017600000, 7.384086],[1273104000000, 7.188374],[1273190400000, 7.166816],[1273276800000, 7.042420],[1273363200000, 7.042420],[1273449600000, 7.042420],[1273536000000, 7.042420],[1273622400000, 7.087541],[1273708800000, 7.109380],[1273795200000, 7.122898],[1273881600000, 7.064598],[1274054400000, 7.064598],[1274140800000, 6.969803],[1274227200000, 6.947601],[1274313600000, 6.717901],[1274400000000, 6.551983],[1274486400000, 6.544101],[1274572800000, 6.544101],[1274659200000, 6.544101],[1274745600000, 6.544101],[1274832000000, 6.438053],[1274918400000, 6.600389],[1275004800000, 6.643099],[1275091200000, 6.752748],[1275177600000, 6.752748],[1275264000000, 6.752748]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });