$(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: [[1448928000000,0.008707],[1449014400000,0.008668],[1449100800000,0.008598],[1449187200000,0.008395],[1449273600000,0.008598],[1449360000000,0.008598],[1449446400000,0.008598],[1449532800000,0.008526],[1449619200000,0.008331],[1449705600000,0.00828],[1449792000000,0.008451],[1449878400000,0.008629],[1449964800000,0.008629],[1450051200000,0.008629],[1450137600000,0.008565],[1450224000000,0.008436],[1450310400000,0.00846],[1450396800000,0.008449],[1450483200000,0.00847],[1450569600000,0.00847],[1450656000000,0.00847],[1450742400000,0.00846],[1450828800000,0.008326],[1450915200000,0.008272],[1451001600000,0.00826],[1451088000000,0.008323],[1451174400000,0.008323],[1451260800000,0.008323],[1451347200000,0.008564],[1451433600000,0.008467],[1451520000000,0.008541]], 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: [[1448928000000, 0.008707],[1448928000000, 0.008707],[1449014400000, 0.008668],[1449100800000, 0.008598],[1449187200000, 0.008395],[1449273600000, 0.008598],[1449360000000, 0.008598],[1449446400000, 0.008598],[1449532800000, 0.008526],[1449619200000, 0.008331],[1449705600000, 0.008280],[1449792000000, 0.008451],[1449878400000, 0.008629],[1449964800000, 0.008629],[1450051200000, 0.008629],[1450137600000, 0.008565],[1450224000000, 0.008436],[1450310400000, 0.008460],[1450396800000, 0.008449],[1450483200000, 0.008470],[1450569600000, 0.008470],[1450656000000, 0.008470],[1450742400000, 0.008460],[1450828800000, 0.008326],[1450915200000, 0.008272],[1451001600000, 0.008260],[1451088000000, 0.008323],[1451174400000, 0.008323],[1451260800000, 0.008323],[1451347200000, 0.008564],[1451433600000, 0.008467],[1451520000000, 0.008541]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });