$(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: [[1393632000000,1.79535],[1393718400000,1.79535],[1393804800000,1.79535],[1393891200000,1.84353],[1393977600000,1.79401],[1394064000000,1.7387],[1394150400000,1.72909],[1394236800000,1.71946],[1394323200000,1.71946],[1394409600000,1.71946],[1394496000000,1.71946],[1394582400000,1.72554],[1394668800000,1.72728],[1394755200000,1.77012],[1394841600000,1.78602],[1394928000000,1.78602],[1395014400000,1.78602],[1395100800000,1.81794],[1395187200000,1.85508],[1395273600000,1.84867],[1395360000000,1.86384],[1395446400000,1.88232],[1395532800000,1.88232],[1395619200000,1.88232],[1395705600000,1.91464],[1395792000000,1.95359],[1395878400000,1.97156],[1395964800000,1.99945],[1396051200000,2.01889],[1396137600000,2.01889],[1396224000000,2.01889]], 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: [[1393632000000, 1.795348],[1393632000000, 1.795348],[1393718400000, 1.795348],[1393804800000, 1.795348],[1393891200000, 1.843531],[1393977600000, 1.794008],[1394064000000, 1.738701],[1394150400000, 1.729088],[1394236800000, 1.719464],[1394323200000, 1.719464],[1394409600000, 1.719464],[1394496000000, 1.719464],[1394582400000, 1.725543],[1394668800000, 1.727278],[1394755200000, 1.770121],[1394841600000, 1.786021],[1394928000000, 1.786021],[1395014400000, 1.786021],[1395100800000, 1.817937],[1395187200000, 1.855078],[1395273600000, 1.848667],[1395360000000, 1.863843],[1395446400000, 1.882321],[1395532800000, 1.882321],[1395619200000, 1.882321],[1395705600000, 1.914635],[1395792000000, 1.953591],[1395878400000, 1.971560],[1395964800000, 1.999452],[1396051200000, 2.018891],[1396137600000, 2.018891],[1396224000000, 2.018891]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });