$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1380585600000,3.12632],[1380672000000,3.13766],[1380758400000,3.12863],[1380844800000,3.14692],[1380931200000,3.14669],[1381017600000,3.14669],[1381104000000,3.14669],[1381190400000,3.14183],[1381276800000,3.14275],[1381363200000,3.12863],[1381449600000,3.12863],[1381536000000,3.14044],[1381622400000,3.14044],[1381708800000,3.14044],[1381795200000,3.13998],[1381881600000,3.12354],[1381968000000,3.13928],[1382054400000,3.16266],[1382140800000,3.16775],[1382227200000,3.16775],[1382313600000,3.16775],[1382400000000,3.16382],[1382486400000,3.16544],[1382572800000,3.1835],[1382659200000,3.19577],[1382745600000,3.18928],[1382832000000,3.18928],[1382918400000,3.18928],[1383004800000,3.1909],[1383091200000,3.1872],[1383177600000,3.18419]], 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: [[1380585600000, 3.126317],[1380585600000, 3.126317],[1380672000000, 3.137660],[1380758400000, 3.128632],[1380844800000, 3.146920],[1380931200000, 3.146688],[1381017600000, 3.146688],[1381104000000, 3.146688],[1381190400000, 3.141827],[1381276800000, 3.142753],[1381363200000, 3.128632],[1381449600000, 3.128632],[1381536000000, 3.140438],[1381622400000, 3.140438],[1381708800000, 3.140438],[1381795200000, 3.139975],[1381881600000, 3.123539],[1381968000000, 3.139280],[1382054400000, 3.162661],[1382140800000, 3.167754],[1382227200000, 3.167754],[1382313600000, 3.167754],[1382400000000, 3.163819],[1382486400000, 3.165439],[1382572800000, 3.183496],[1382659200000, 3.195765],[1382745600000, 3.189283],[1382832000000, 3.189283],[1382918400000, 3.189283],[1383004800000, 3.190903],[1383091200000, 3.187199],[1383177600000, 3.184190]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });