$(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: 'Курс NOK, грн'}, 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: 'Курс NOK', data: [[1372636800000,1.32172],[1372723200000,1.3193],[1372809600000,1.3137],[1372896000000,1.30529],[1372982400000,1.30789],[1373068800000,1.29486],[1373155200000,1.29486],[1373241600000,1.29486],[1373328000000,1.28952],[1373414400000,1.30083],[1373500800000,1.30381],[1373587200000,1.31493],[1373673600000,1.31658],[1373760000000,1.31658],[1373846400000,1.31658],[1373932800000,1.31137],[1374019200000,1.32834],[1374105600000,1.33286],[1374192000000,1.33256],[1374278400000,1.33519],[1374364800000,1.33519],[1374451200000,null],[1374537600000,1.34521],[1374624000000,1.34785],[1374710400000,1.36008],[1374796800000,1.34846],[1374883200000,1.34775],[1374969600000,1.34775],[1375056000000,1.34775],[1375142400000,1.34937],[1375228800000,1.34882]], 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: [[1372636800000, 1.321720],[1372636800000, 1.321720],[1372723200000, 1.319298],[1372809600000, 1.313698],[1372896000000, 1.305290],[1372982400000, 1.307891],[1373068800000, 1.294861],[1373155200000, 1.294861],[1373241600000, 1.294861],[1373328000000, 1.289517],[1373414400000, 1.300835],[1373500800000, 1.303810],[1373587200000, 1.314929],[1373673600000, 1.316577],[1373760000000, 1.316577],[1373846400000, 1.316577],[1373932800000, 1.311372],[1374019200000, 1.328336],[1374105600000, 1.332860],[1374192000000, 1.332557],[1374278400000, 1.335185],[1374364800000, 1.335185],[1374537600000, 1.345211],[1374624000000, 1.347847],[1374710400000, 1.360078],[1374796800000, 1.348458],[1374883200000, 1.347752],[1374969600000, 1.347752],[1375056000000, 1.347752],[1375142400000, 1.349368],[1375228800000, 1.348819]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });