$(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: [[1380585600000,15.3615],[1380672000000,15.4173],[1380758400000,15.3729],[1380844800000,15.465],[1380931200000,15.4594],[1381017600000,15.4594],[1381104000000,15.4594],[1381190400000,15.4355],[1381276800000,15.4445],[1381363200000,15.3729],[1381449600000,15.3729],[1381536000000,15.4309],[1381622400000,15.4309],[1381708800000,15.4309],[1381795200000,15.4264],[1381881600000,15.3544],[1381968000000,15.4296],[1382054400000,15.5401],[1382140800000,15.5651],[1382227200000,15.5651],[1382313600000,15.5651],[1382400000000,15.5392],[1382486400000,15.5493],[1382572800000,15.638],[1382659200000,15.6961],[1382745600000,15.6732],[1382832000000,15.6732],[1382918400000,15.6732],[1383004800000,15.6744],[1383091200000,15.6585],[1383177600000,15.6392]], 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: [[1380585600000, 15.361529],[1380585600000, 15.361529],[1380672000000, 15.417265],[1380758400000, 15.372904],[1380844800000, 15.464965],[1380931200000, 15.459426],[1381017600000, 15.459426],[1381104000000, 15.459426],[1381190400000, 15.435543],[1381276800000, 15.444487],[1381363200000, 15.372904],[1381449600000, 15.372904],[1381536000000, 15.430915],[1381622400000, 15.430915],[1381708800000, 15.430915],[1381795200000, 15.426445],[1381881600000, 15.354435],[1381968000000, 15.429619],[1382054400000, 15.540112],[1382140800000, 15.565136],[1382227200000, 15.565136],[1382313600000, 15.565136],[1382400000000, 15.539165],[1382486400000, 15.549336],[1382572800000, 15.638033],[1382659200000, 15.696069],[1382745600000, 15.673151],[1382832000000, 15.673151],[1382918400000, 15.673151],[1383004800000, 15.674422],[1383091200000, 15.658455],[1383177600000, 15.639220]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });