$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1349049600000,1.38622],[1349136000000,1.38055],[1349222400000,1.38624],[1349308800000,1.38323],[1349395200000,1.38845],[1349481600000,1.39392],[1349568000000,1.39392],[1349654400000,1.39392],[1349740800000,1.38896],[1349827200000,1.38831],[1349913600000,1.38132],[1350000000000,1.38432],[1350086400000,1.38987],[1350172800000,1.38987],[1350259200000,1.38987],[1350345600000,1.38994],[1350432000000,1.39792],[1350518400000,1.40589],[1350604800000,1.40566],[1350691200000,1.39682],[1350777600000,1.39682],[1350864000000,1.39682],[1350950400000,1.39986],[1351036800000,1.39368],[1351123200000,1.38682],[1351209600000,1.39236],[1351296000000,1.38317],[1351382400000,1.38317],[1351468800000,1.38317],[1351555200000,1.38201],[1351641600000,1.38887]], 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, 1.386218],[1349049600000, 1.386218],[1349136000000, 1.380555],[1349222400000, 1.386237],[1349308800000, 1.383227],[1349395200000, 1.388451],[1349481600000, 1.393918],[1349568000000, 1.393918],[1349654400000, 1.393918],[1349740800000, 1.388959],[1349827200000, 1.388311],[1349913600000, 1.381322],[1350000000000, 1.384319],[1350086400000, 1.389873],[1350172800000, 1.389873],[1350259200000, 1.389873],[1350345600000, 1.389943],[1350432000000, 1.397923],[1350518400000, 1.405890],[1350604800000, 1.405657],[1350691200000, 1.396819],[1350777600000, 1.396819],[1350864000000, 1.396819],[1350950400000, 1.399857],[1351036800000, 1.393679],[1351123200000, 1.386816],[1351209600000, 1.392356],[1351296000000, 1.383173],[1351382400000, 1.383173],[1351468800000, 1.383173],[1351555200000, 1.382009],[1351641600000, 1.388866]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });