$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1349049600000,10.3349],[1349136000000,10.2926],[1349222400000,10.3349],[1349308800000,10.3142],[1349395200000,10.3517],[1349481600000,10.3925],[1349568000000,10.3925],[1349654400000,10.3925],[1349740800000,10.3573],[1349827200000,10.3533],[1349913600000,10.3022],[1350000000000,10.3254],[1350086400000,10.3669],[1350172800000,10.3669],[1350259200000,10.3669],[1350345600000,10.3677],[1350432000000,10.4277],[1350518400000,10.4868],[1350604800000,10.4852],[1350691200000,10.4189],[1350777600000,10.4189],[1350864000000,10.4189],[1350950400000,10.4413],[1351036800000,10.3949],[1351123200000,10.3445],[1351209600000,10.3853],[1351296000000,10.3174],[1351382400000,10.3174],[1351468800000,10.3174],[1351555200000,10.3094],[1351641600000,10.3605]], 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: [[1349049600000, 10.334949],[1349049600000, 10.334949],[1349136000000, 10.292586],[1349222400000, 10.334949],[1349308800000, 10.314167],[1349395200000, 10.351734],[1349481600000, 10.392499],[1349568000000, 10.392499],[1349654400000, 10.392499],[1349740800000, 10.357329],[1349827200000, 10.353333],[1349913600000, 10.302178],[1350000000000, 10.325357],[1350086400000, 10.366921],[1350172800000, 10.366921],[1350259200000, 10.366921],[1350345600000, 10.367720],[1350432000000, 10.427668],[1350518400000, 10.486816],[1350604800000, 10.485217],[1350691200000, 10.418876],[1350777600000, 10.418876],[1350864000000, 10.418876],[1350950400000, 10.441256],[1351036800000, 10.394897],[1351123200000, 10.344541],[1351209600000, 10.385305],[1351296000000, 10.317364],[1351382400000, 10.317364],[1351468800000, 10.317364],[1351555200000, 10.309371],[1351641600000, 10.360527]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });