$(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: 'Курс UZS, грн'}, 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: 'Курс UZS', data: [[1417392000000,0.006234],[1417478400000,0.006271],[1417564800000,0.00628],[1417651200000,0.006313],[1417737600000,0.006359],[1417824000000,0.006409],[1417910400000,0.006409],[1417996800000,0.006409],[1418083200000,0.006454],[1418169600000,0.006476],[1418256000000,0.006493],[1418342400000,0.006504],[1418428800000,0.00652],[1418515200000,0.00652],[1418601600000,0.00652],[1418688000000,0.00654],[1418774400000,0.006534],[1418860800000,0.006537],[1418947200000,null],[1419033600000,0.006533],[1419120000000,0.006533],[1419206400000,0.006533],[1419292800000,0.006568],[1419379200000,0.006477],[1419465600000,0.006521],[1419552000000,0.006522],[1419638400000,0.006521],[1419724800000,0.006521],[1419811200000,0.006521],[1419897600000,0.006521],[1419984000000,0.006521]], 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: [[1417392000000, 0.006234],[1417392000000, 0.006234],[1417478400000, 0.006271],[1417564800000, 0.006280],[1417651200000, 0.006313],[1417737600000, 0.006359],[1417824000000, 0.006409],[1417910400000, 0.006409],[1417996800000, 0.006409],[1418083200000, 0.006454],[1418169600000, 0.006476],[1418256000000, 0.006493],[1418342400000, 0.006504],[1418428800000, 0.006520],[1418515200000, 0.006520],[1418601600000, 0.006520],[1418688000000, 0.006540],[1418774400000, 0.006534],[1418860800000, 0.006537],[1419033600000, 0.006533],[1419120000000, 0.006533],[1419206400000, 0.006533],[1419292800000, 0.006568],[1419379200000, 0.006477],[1419465600000, 0.006521],[1419552000000, 0.006522],[1419638400000, 0.006521],[1419724800000, 0.006521],[1419811200000, 0.006521],[1419897600000, 0.006521],[1419984000000, 0.006521]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });