$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1448928000000,3.39589],[1449014400000,3.38758],[1449100800000,3.36429],[1449187200000,3.3034],[1449273600000,3.45586],[1449360000000,3.45586],[1449446400000,3.45586],[1449532800000,3.39752],[1449619200000,3.33991],[1449705600000,3.35741],[1449792000000,3.42746],[1449878400000,3.50183],[1449964800000,3.50183],[1450051200000,3.50183],[1450137600000,3.5052],[1450224000000,3.45418],[1450310400000,3.44608],[1450396800000,3.41272],[1450483200000,3.41963],[1450569600000,3.41963],[1450656000000,3.41963],[1450742400000,3.42638],[1450828800000,3.3975],[1450915200000,3.36436],[1451001600000,3.3686],[1451088000000,3.39398],[1451174400000,3.39398],[1451260800000,3.39398],[1451347200000,3.49691],[1451433600000,3.49135],[1451520000000,3.51399]], 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: [[1448928000000, 3.395888],[1448928000000, 3.395888],[1449014400000, 3.387584],[1449100800000, 3.364294],[1449187200000, 3.303398],[1449273600000, 3.455857],[1449360000000, 3.455857],[1449446400000, 3.455857],[1449532800000, 3.397518],[1449619200000, 3.339913],[1449705600000, 3.357414],[1449792000000, 3.427462],[1449878400000, 3.501830],[1449964800000, 3.501830],[1450051200000, 3.501830],[1450137600000, 3.505201],[1450224000000, 3.454175],[1450310400000, 3.446081],[1450396800000, 3.412720],[1450483200000, 3.419631],[1450569600000, 3.419631],[1450656000000, 3.419631],[1450742400000, 3.426381],[1450828800000, 3.397497],[1450915200000, 3.364359],[1451001600000, 3.368604],[1451088000000, 3.393982],[1451174400000, 3.393982],[1451260800000, 3.393982],[1451347200000, 3.496906],[1451433600000, 3.491350],[1451520000000, 3.513987]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });