$(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: [[1277942400000,0.004956],[1278028800000,0.004958],[1278115200000,0.00496],[1278201600000,0.00496],[1278288000000,0.00496],[1278374400000,0.004951],[1278460800000,0.00495],[1278547200000,0.004949],[1278633600000,0.004948],[1278720000000,0.004947],[1278806400000,0.004947],[1278892800000,0.004947],[1278979200000,0.004938],[1279065600000,0.004937],[1279152000000,0.004937],[1279238400000,0.004936],[1279324800000,0.004936],[1279411200000,0.004936],[1279497600000,0.004936],[1279584000000,0.004928],[1279670400000,0.004927],[1279756800000,0.004927],[1279843200000,0.004926],[1279929600000,0.004926],[1280016000000,0.004926],[1280102400000,0.004926],[1280188800000,0.004917],[1280275200000,0.004917],[1280361600000,0.004916],[1280448000000,0.004916],[1280534400000,0.004916]], 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: [[1277942400000, 0.004956],[1277942400000, 0.004956],[1278028800000, 0.004958],[1278115200000, 0.004960],[1278201600000, 0.004960],[1278288000000, 0.004960],[1278374400000, 0.004951],[1278460800000, 0.004950],[1278547200000, 0.004949],[1278633600000, 0.004948],[1278720000000, 0.004947],[1278806400000, 0.004947],[1278892800000, 0.004947],[1278979200000, 0.004938],[1279065600000, 0.004937],[1279152000000, 0.004937],[1279238400000, 0.004936],[1279324800000, 0.004936],[1279411200000, 0.004936],[1279497600000, 0.004936],[1279584000000, 0.004928],[1279670400000, 0.004927],[1279756800000, 0.004927],[1279843200000, 0.004926],[1279929600000, 0.004926],[1280016000000, 0.004926],[1280102400000, 0.004926],[1280188800000, 0.004917],[1280275200000, 0.004917],[1280361600000, 0.004916],[1280448000000, 0.004916],[1280534400000, 0.004916]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });