$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1151712000000,0.410317],[1151798400000,0.410317],[1151884800000,0.410317],[1151971200000,0.412802],[1152057600000,0.412834],[1152144000000,0.412931],[1152230400000,0.411027],[1152316800000,0.412415],[1152403200000,0.412415],[1152489600000,0.412415],[1152576000000,0.411576],[1152662400000,0.411059],[1152748800000,0.410607],[1152835200000,0.409639],[1152921600000,0.4088],[1153008000000,0.4088],[1153094400000,0.4088],[1153180800000,0.404766],[1153267200000,0.404443],[1153353600000,0.402861],[1153440000000,0.408058],[1153526400000,0.409252],[1153612800000,0.409252],[1153699200000,0.409252],[1153785600000,0.407735],[1153872000000,0.407832],[1153958400000,0.40625],[1154044800000,0.411092],[1154131200000,0.408735],[1154217600000,0.408735],[1154304000000,0.408735]], 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: [[1151712000000, 0.410317],[1151712000000, 0.410317],[1151798400000, 0.410317],[1151884800000, 0.410317],[1151971200000, 0.412802],[1152057600000, 0.412834],[1152144000000, 0.412931],[1152230400000, 0.411027],[1152316800000, 0.412415],[1152403200000, 0.412415],[1152489600000, 0.412415],[1152576000000, 0.411576],[1152662400000, 0.411059],[1152748800000, 0.410607],[1152835200000, 0.409639],[1152921600000, 0.408800],[1153008000000, 0.408800],[1153094400000, 0.408800],[1153180800000, 0.404766],[1153267200000, 0.404443],[1153353600000, 0.402861],[1153440000000, 0.408058],[1153526400000, 0.409252],[1153612800000, 0.409252],[1153699200000, 0.409252],[1153785600000, 0.407735],[1153872000000, 0.407832],[1153958400000, 0.406250],[1154044800000, 0.411092],[1154131200000, 0.408735],[1154217600000, 0.408735],[1154304000000, 0.408735]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });