$(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: [[1330560000000,0.432175],[1330646400000,0.427155],[1330732800000,0.427179],[1330819200000,0.427179],[1330905600000,0.427179],[1330992000000,0.426156],[1331078400000,0.422529],[1331164800000,0.421358],[1331251200000,0.421358],[1331337600000,0.421358],[1331424000000,0.421358],[1331510400000,0.421358],[1331596800000,0.426529],[1331683200000,0.42408],[1331769600000,0.423673],[1331856000000,0.424493],[1331942400000,0.427283],[1332028800000,0.427283],[1332115200000,0.427283],[1332201600000,0.428006],[1332288000000,0.43078],[1332374400000,0.428769],[1332460800000,0.42508],[1332547200000,0.427691],[1332633600000,0.427691],[1332720000000,0.427691],[1332806400000,0.430459],[1332892800000,0.432766],[1332979200000,0.432896],[1333065600000,0.427797],[1333152000000,0.431405]], 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: [[1330560000000, 0.432175],[1330560000000, 0.432175],[1330646400000, 0.427155],[1330732800000, 0.427179],[1330819200000, 0.427179],[1330905600000, 0.427179],[1330992000000, 0.426156],[1331078400000, 0.422529],[1331164800000, 0.421358],[1331251200000, 0.421358],[1331337600000, 0.421358],[1331424000000, 0.421358],[1331510400000, 0.421358],[1331596800000, 0.426529],[1331683200000, 0.424080],[1331769600000, 0.423673],[1331856000000, 0.424493],[1331942400000, 0.427283],[1332028800000, 0.427283],[1332115200000, 0.427283],[1332201600000, 0.428006],[1332288000000, 0.430780],[1332374400000, 0.428769],[1332460800000, 0.425080],[1332547200000, 0.427691],[1332633600000, 0.427691],[1332720000000, 0.427691],[1332806400000, 0.430459],[1332892800000, 0.432766],[1332979200000, 0.432896],[1333065600000, 0.427797],[1333152000000, 0.431405]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });