$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1349049600000,0.411079],[1349136000000,0.41039],[1349222400000,0.412408],[1349308800000,0.412023],[1349395200000,0.414783],[1349481600000,0.417118],[1349568000000,0.417118],[1349654400000,0.417118],[1349740800000,0.415957],[1349827200000,0.415196],[1349913600000,0.412913],[1350000000000,0.414008],[1350086400000,0.415508],[1350172800000,0.415508],[1350259200000,0.415508],[1350345600000,0.415857],[1350432000000,0.419203],[1350518400000,0.422958],[1350604800000,0.423542],[1350691200000,0.419727],[1350777600000,0.419727],[1350864000000,0.419727],[1350950400000,0.419344],[1351036800000,0.417332],[1351123200000,0.414229],[1351209600000,0.417064],[1351296000000,0.414352],[1351382400000,0.414352],[1351468800000,0.414352],[1351555200000,0.412029],[1351641600000,0.414057]], 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, 0.411079],[1349049600000, 0.411079],[1349136000000, 0.410390],[1349222400000, 0.412408],[1349308800000, 0.412023],[1349395200000, 0.414783],[1349481600000, 0.417118],[1349568000000, 0.417118],[1349654400000, 0.417118],[1349740800000, 0.415957],[1349827200000, 0.415196],[1349913600000, 0.412913],[1350000000000, 0.414008],[1350086400000, 0.415508],[1350172800000, 0.415508],[1350259200000, 0.415508],[1350345600000, 0.415857],[1350432000000, 0.419203],[1350518400000, 0.422958],[1350604800000, 0.423542],[1350691200000, 0.419727],[1350777600000, 0.419727],[1350864000000, 0.419727],[1350950400000, 0.419344],[1351036800000, 0.417332],[1351123200000, 0.414229],[1351209600000, 0.417064],[1351296000000, 0.414352],[1351382400000, 0.414352],[1351468800000, 0.414352],[1351555200000, 0.412029],[1351641600000, 0.414057]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });