$(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: [[1301616000000,0.460774],[1301702400000,0.459213],[1301788800000,0.459213],[1301875200000,0.459213],[1301961600000,0.463437],[1302048000000,0.461596],[1302134400000,0.466287],[1302220800000,0.465561],[1302307200000,0.469503],[1302393600000,0.469503],[1302480000000,0.469503],[1302566400000,0.47043],[1302652800000,0.471565],[1302739200000,0.473551],[1302825600000,0.472766],[1302912000000,0.475472],[1302998400000,0.475472],[1303084800000,0.475472],[1303171200000,0.470317],[1303257600000,0.472212],[1303344000000,0.478273],[1303430400000,0.480428],[1303516800000,0.480428],[1303603200000,0.480428],[1303689600000,0.480428],[1303776000000,0.480428],[1303862400000,0.483113],[1303948800000,0.484076],[1304035200000,0.488477],[1304121600000,0.488645]], 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: [[1301616000000, 0.460774],[1301616000000, 0.460774],[1301702400000, 0.459213],[1301788800000, 0.459213],[1301875200000, 0.459213],[1301961600000, 0.463437],[1302048000000, 0.461596],[1302134400000, 0.466287],[1302220800000, 0.465561],[1302307200000, 0.469503],[1302393600000, 0.469503],[1302480000000, 0.469503],[1302566400000, 0.470430],[1302652800000, 0.471565],[1302739200000, 0.473551],[1302825600000, 0.472766],[1302912000000, 0.475472],[1302998400000, 0.475472],[1303084800000, 0.475472],[1303171200000, 0.470317],[1303257600000, 0.472212],[1303344000000, 0.478273],[1303430400000, 0.480428],[1303516800000, 0.480428],[1303603200000, 0.480428],[1303689600000, 0.480428],[1303776000000, 0.480428],[1303862400000, 0.483113],[1303948800000, 0.484076],[1304035200000, 0.488477],[1304121600000, 0.488645]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });