$(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: [[1130803200000,3.786],[1130889600000,3.76883],[1130976000000,3.74009],[1131062400000,3.74843],[1131148800000,3.71825],[1131235200000,3.71825],[1131321600000,3.71825],[1131408000000,3.70004],[1131494400000,3.69306],[1131580800000,3.70596],[1131667200000,3.70289],[1131753600000,3.69441],[1131840000000,3.69441],[1131926400000,3.69441],[1132012800000,3.68081],[1132099200000,3.6778],[1132185600000,3.67957],[1132272000000,3.70325],[1132358400000,3.69403],[1132444800000,3.69403],[1132531200000,3.69403],[1132617600000,3.72273],[1132704000000,3.70122],[1132790400000,3.71959],[1132876800000,3.73324],[1132963200000,3.71851],[1133049600000,3.71851],[1133136000000,3.71851],[1133222400000,3.71285],[1133308800000,3.73782]], 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: [[1130803200000, 3.786004],[1130803200000, 3.786004],[1130889600000, 3.768825],[1130976000000, 3.740094],[1131062400000, 3.748431],[1131148800000, 3.718248],[1131235200000, 3.718248],[1131321600000, 3.718248],[1131408000000, 3.700037],[1131494400000, 3.693058],[1131580800000, 3.705964],[1131667200000, 3.702893],[1131753600000, 3.694406],[1131840000000, 3.694406],[1131926400000, 3.694406],[1132012800000, 3.680812],[1132099200000, 3.677800],[1132185600000, 3.679574],[1132272000000, 3.703249],[1132358400000, 3.694034],[1132444800000, 3.694034],[1132531200000, 3.694034],[1132617600000, 3.722728],[1132704000000, 3.701225],[1132790400000, 3.719590],[1132876800000, 3.733242],[1132963200000, 3.718507],[1133049600000, 3.718507],[1133136000000, 3.718507],[1133222400000, 3.712853],[1133308800000, 3.737818]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });