$(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: [[1388534400000,0.402315],[1388620800000,0.402315],[1388707200000,0.402315],[1388793600000,0.395918],[1388880000000,0.395918],[1388966400000,0.395918],[1389052800000,0.395918],[1389139200000,0.395918],[1389225600000,0.395864],[1389312000000,0.396605],[1389398400000,0.396469],[1389484800000,0.396469],[1389571200000,0.396469],[1389657600000,0.398163],[1389744000000,0.398556],[1389830400000,0.396315],[1389916800000,0.395332],[1390003200000,0.395429],[1390089600000,0.395429],[1390176000000,0.395429],[1390262400000,0.393958],[1390348800000,0.392355],[1390435200000,0.393801],[1390521600000,0.396568],[1390608000000,0.397458],[1390694400000,0.397458],[1390780800000,0.397458],[1390867200000,0.397337],[1390953600000,0.396613],[1391040000000,0.394948],[1391126400000,0.39319]], 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: [[1388534400000, 0.402315],[1388534400000, 0.402315],[1388620800000, 0.402315],[1388707200000, 0.402315],[1388793600000, 0.395918],[1388880000000, 0.395918],[1388966400000, 0.395918],[1389052800000, 0.395918],[1389139200000, 0.395918],[1389225600000, 0.395864],[1389312000000, 0.396605],[1389398400000, 0.396469],[1389484800000, 0.396469],[1389571200000, 0.396469],[1389657600000, 0.398163],[1389744000000, 0.398556],[1389830400000, 0.396315],[1389916800000, 0.395332],[1390003200000, 0.395429],[1390089600000, 0.395429],[1390176000000, 0.395429],[1390262400000, 0.393958],[1390348800000, 0.392355],[1390435200000, 0.393801],[1390521600000, 0.396568],[1390608000000, 0.397458],[1390694400000, 0.397458],[1390780800000, 0.397458],[1390867200000, 0.397337],[1390953600000, 0.396613],[1391040000000, 0.394948],[1391126400000, 0.393190]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });