$(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: [[1341100800000,0.384822],[1341187200000,0.384822],[1341273600000,0.394472],[1341360000000,0.393292],[1341446400000,0.39367],[1341532800000,0.390128],[1341619200000,0.384915],[1341705600000,0.384939],[1341792000000,0.384939],[1341878400000,0.384782],[1341964800000,0.386119],[1342051200000,0.38588],[1342137600000,0.382561],[1342224000000,0.383519],[1342310400000,0.383519],[1342396800000,0.383519],[1342483200000,0.383373],[1342569600000,0.38738],[1342656000000,0.386844],[1342742400000,0.387707],[1342828800000,0.381363],[1342915200000,0.381363],[1343001600000,0.381363],[1343088000000,0.378261],[1343174400000,0.378352],[1343260800000,0.379449],[1343347200000,0.384216],[1343433600000,0.388976],[1343520000000,0.388976],[1343606400000,0.388976],[1343692800000,0.38753]], 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: [[1341100800000, 0.384822],[1341100800000, 0.384822],[1341187200000, 0.384822],[1341273600000, 0.394472],[1341360000000, 0.393292],[1341446400000, 0.393670],[1341532800000, 0.390128],[1341619200000, 0.384915],[1341705600000, 0.384939],[1341792000000, 0.384939],[1341878400000, 0.384782],[1341964800000, 0.386119],[1342051200000, 0.385880],[1342137600000, 0.382561],[1342224000000, 0.383519],[1342310400000, 0.383519],[1342396800000, 0.383519],[1342483200000, 0.383373],[1342569600000, 0.387380],[1342656000000, 0.386844],[1342742400000, 0.387707],[1342828800000, 0.381363],[1342915200000, 0.381363],[1343001600000, 0.381363],[1343088000000, 0.378261],[1343174400000, 0.378352],[1343260800000, 0.379449],[1343347200000, 0.384216],[1343433600000, 0.388976],[1343520000000, 0.388976],[1343606400000, 0.388976],[1343692800000, 0.387530]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });