$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1346457600000,14.4827],[1346544000000,14.4827],[1346630400000,14.4827],[1346716800000,14.4271],[1346803200000,14.4397],[1346889600000,14.4407],[1346976000000,14.5096],[1347062400000,14.5855],[1347148800000,14.5855],[1347235200000,14.5855],[1347321600000,14.6659],[1347408000000,14.6785],[1347494400000,14.8079],[1347580800000,14.8218],[1347667200000,15.0364],[1347753600000,15.0364],[1347840000000,15.0364],[1347926400000,15.0217],[1348012800000,14.9872],[1348099200000,14.9275],[1348185600000,14.8724],[1348272000000,14.9114],[1348358400000,14.9114],[1348444800000,14.9114],[1348531200000,14.8266],[1348617600000,14.8471],[1348704000000,14.7472],[1348790400000,14.7784],[1348876800000,14.8448],[1348963200000,14.8448]], 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: [[1346457600000, 14.482719],[1346457600000, 14.482719],[1346544000000, 14.482719],[1346630400000, 14.482719],[1346716800000, 14.427118],[1346803200000, 14.439745],[1346889600000, 14.440671],[1346976000000, 14.509557],[1347062400000, 14.585532],[1347148800000, 14.585532],[1347235200000, 14.585532],[1347321600000, 14.665887],[1347408000000, 14.678514],[1347494400000, 14.807891],[1347580800000, 14.821837],[1347667200000, 15.036393],[1347753600000, 15.036393],[1347840000000, 15.036393],[1347926400000, 15.021743],[1348012800000, 14.987162],[1348099200000, 14.927461],[1348185600000, 14.872353],[1348272000000, 14.911388],[1348358400000, 14.911388],[1348444800000, 14.911388],[1348531200000, 14.826596],[1348617600000, 14.847095],[1348704000000, 14.747211],[1348790400000, 14.778383],[1348876800000, 14.844799],[1348963200000, 14.844799]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });