$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1136246400000,0.205431],[1136332800000,0.205431],[1136419200000,0.205431],[1136505600000,0.210985],[1136592000000,0.211095],[1136678400000,0.211095],[1136764800000,0.211095],[1136851200000,0.211095],[1136937600000,0.211539],[1137024000000,0.212306],[1137110400000,0.212413],[1137196800000,0.210808],[1137283200000,0.210808],[1137369600000,0.210808],[1137456000000,0.21241],[1137542400000,0.211541],[1137628800000,0.212152],[1137715200000,0.212242],[1137801600000,0.213052],[1137888000000,0.213052],[1137974400000,0.213052],[1138060800000,0.216719],[1138147200000,0.216843],[1138233600000,0.218547],[1138320000000,0.217935],[1138406400000,0.216538],[1138492800000,0.216538],[1138579200000,0.216538],[1138665600000,0.214891]], 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: [[1136246400000, 0.205431],[1136246400000, 0.205431],[1136332800000, 0.205431],[1136419200000, 0.205431],[1136505600000, 0.210985],[1136592000000, 0.211095],[1136678400000, 0.211095],[1136764800000, 0.211095],[1136851200000, 0.211095],[1136937600000, 0.211539],[1137024000000, 0.212306],[1137110400000, 0.212413],[1137196800000, 0.210808],[1137283200000, 0.210808],[1137369600000, 0.210808],[1137456000000, 0.212410],[1137542400000, 0.211541],[1137628800000, 0.212152],[1137715200000, 0.212242],[1137801600000, 0.213052],[1137888000000, 0.213052],[1137974400000, 0.213052],[1138060800000, 0.216719],[1138147200000, 0.216843],[1138233600000, 0.218547],[1138320000000, 0.217935],[1138406400000, 0.216538],[1138492800000, 0.216538],[1138579200000, 0.216538],[1138665600000, 0.214891]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });