$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1356998400000,4.46793],[1357084800000,4.46793],[1357171200000,4.46793],[1357257600000,4.48421],[1357344000000,4.46622],[1357430400000,4.46622],[1357516800000,4.46622],[1357603200000,4.46622],[1357689600000,4.49278],[1357776000000,4.4958],[1357862400000,4.50321],[1357948800000,4.51697],[1358035200000,4.51697],[1358121600000,4.51697],[1358208000000,4.51421],[1358294400000,4.50928],[1358380800000,4.51588],[1358467200000,4.54702],[1358553600000,4.53959],[1358640000000,4.53959],[1358726400000,4.53959],[1358812800000,4.53152],[1358899200000,4.51163],[1358985600000,4.51641],[1359072000000,4.50947],[1359158400000,4.52591],[1359244800000,4.52591],[1359331200000,4.52591],[1359417600000,4.52759],[1359504000000,4.5104],[1359590400000,4.51743]], 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: [[1356998400000, 4.467932],[1356998400000, 4.467932],[1357084800000, 4.467932],[1357171200000, 4.467932],[1357257600000, 4.484212],[1357344000000, 4.466222],[1357430400000, 4.466222],[1357516800000, 4.466222],[1357603200000, 4.466222],[1357689600000, 4.492779],[1357776000000, 4.495804],[1357862400000, 4.503210],[1357948800000, 4.516969],[1358035200000, 4.516969],[1358121600000, 4.516969],[1358208000000, 4.514208],[1358294400000, 4.509280],[1358380800000, 4.515875],[1358467200000, 4.547020],[1358553600000, 4.539588],[1358640000000, 4.539588],[1358726400000, 4.539588],[1358812800000, 4.531521],[1358899200000, 4.511626],[1358985600000, 4.516413],[1359072000000, 4.509469],[1359158400000, 4.525906],[1359244800000, 4.525906],[1359331200000, 4.525906],[1359417600000, 4.527593],[1359504000000, 4.510396],[1359590400000, 4.517434]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });