$(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: [[1391212800000,0.003627],[1391299200000,0.003627],[1391385600000,0.003627],[1391472000000,0.003617],[1391558400000,0.003617],[1391644800000,0.003617],[1391731200000,0.003941],[1391817600000,0.003859],[1391904000000,0.003859],[1391990400000,0.003859],[1392076800000,0.00386],[1392163200000,0.003859],[1392249600000,0.003859],[1392336000000,0.003895],[1392422400000,0.003899],[1392508800000,0.003899],[1392595200000,0.003899],[1392681600000,0.00389],[1392768000000,0.003908],[1392854400000,0.003952],[1392940800000,0.003976],[1393027200000,0.004021],[1393113600000,0.004021],[1393200000000,0.004021],[1393286400000,0.004053],[1393372800000,0.004228],[1393459200000,0.004269],[1393545600000,0.004479]], 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: [[1391212800000, 0.003627],[1391212800000, 0.003627],[1391299200000, 0.003627],[1391385600000, 0.003627],[1391472000000, 0.003617],[1391558400000, 0.003617],[1391644800000, 0.003617],[1391731200000, 0.003941],[1391817600000, 0.003859],[1391904000000, 0.003859],[1391990400000, 0.003859],[1392076800000, 0.003860],[1392163200000, 0.003859],[1392249600000, 0.003859],[1392336000000, 0.003895],[1392422400000, 0.003899],[1392508800000, 0.003899],[1392595200000, 0.003899],[1392681600000, 0.003890],[1392768000000, 0.003908],[1392854400000, 0.003952],[1392940800000, 0.003976],[1393027200000, 0.004021],[1393113600000, 0.004021],[1393200000000, 0.004021],[1393286400000, 0.004053],[1393372800000, 0.004228],[1393459200000, 0.004269],[1393545600000, 0.004479]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });