$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1086048000000,6.52038],[1086134400000,6.51203],[1086220800000,6.53537],[1086307200000,6.49529],[1086393600000,6.49529],[1086480000000,6.49529],[1086566400000,6.49529],[1086652800000,6.55666],[1086739200000,6.46995],[1086825600000,6.46995],[1086912000000,6.38899],[1086998400000,6.38899],[1087084800000,6.38899],[1087171200000,6.38899],[1087257600000,6.38633],[1087344000000,6.41667],[1087430400000,6.41667],[1087516800000,6.40803],[1087603200000,6.40803],[1087689600000,6.40803],[1087776000000,6.4454],[1087862400000,6.4341],[1087948800000,6.4341],[1088035200000,6.43186],[1088121600000,6.45863],[1088208000000,6.45863],[1088294400000,6.45863],[1088380800000,6.45863],[1088467200000,6.45863],[1088553600000,6.47476]], 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: [[1086048000000, 6.520380],[1086048000000, 6.520380],[1086134400000, 6.512030],[1086220800000, 6.535370],[1086307200000, 6.495290],[1086393600000, 6.495290],[1086480000000, 6.495290],[1086566400000, 6.495290],[1086652800000, 6.556660],[1086739200000, 6.469950],[1086825600000, 6.469950],[1086912000000, 6.388990],[1086998400000, 6.388990],[1087084800000, 6.388990],[1087171200000, 6.388990],[1087257600000, 6.386330],[1087344000000, 6.416670],[1087430400000, 6.416670],[1087516800000, 6.408030],[1087603200000, 6.408030],[1087689600000, 6.408030],[1087776000000, 6.445400],[1087862400000, 6.434100],[1087948800000, 6.434100],[1088035200000, 6.431860],[1088121600000, 6.458630],[1088208000000, 6.458630],[1088294400000, 6.458630],[1088380800000, 6.458630],[1088467200000, 6.458630],[1088553600000, 6.474760]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });