$(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: [[1112313600000,4.08386],[1112400000000,4.07256],[1112486400000,4.07256],[1112572800000,4.07256],[1112659200000,4.05442],[1112745600000,4.03601],[1112832000000,4.03693],[1112918400000,4.05792],[1113004800000,4.04116],[1113091200000,4.04116],[1113177600000,4.04116],[1113264000000,4.08147],[1113350400000,4.08564],[1113436800000,4.09544],[1113523200000,4.05964],[1113609600000,4.02967],[1113696000000,4.02967],[1113782400000,4.02967],[1113868800000,4.00519],[1113955200000,3.98001],[1114041600000,3.91315],[1114128000000,3.90842],[1114214400000,3.93721],[1114300800000,3.93721],[1114387200000,3.93721],[1114473600000,3.9357],[1114560000000,3.93458],[1114646400000,3.91774],[1114732800000,3.92805],[1114819200000,3.95007]], 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: [[1112313600000, 4.083857],[1112313600000, 4.083857],[1112400000000, 4.072564],[1112486400000, 4.072564],[1112572800000, 4.072564],[1112659200000, 4.054417],[1112745600000, 4.036014],[1112832000000, 4.036926],[1112918400000, 4.057920],[1113004800000, 4.041163],[1113091200000, 4.041163],[1113177600000, 4.041163],[1113264000000, 4.081469],[1113350400000, 4.085644],[1113436800000, 4.095444],[1113523200000, 4.059641],[1113609600000, 4.029669],[1113696000000, 4.029669],[1113782400000, 4.029669],[1113868800000, 4.005192],[1113955200000, 3.980011],[1114041600000, 3.913150],[1114128000000, 3.908422],[1114214400000, 3.937212],[1114300800000, 3.937212],[1114387200000, 3.937212],[1114473600000, 3.935704],[1114560000000, 3.934581],[1114646400000, 3.917737],[1114732800000, 3.928048],[1114819200000, 3.950066]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });