$(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: 'Курс JPY, грн'}, 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: 'Курс JPY', data: [[1272672000000,0.0838831],[1272758400000,0.0838831],[1272844800000,0.0838831],[1272931200000,0.0838831],[1273017600000,0.0838831],[1273104000000,0.0835108],[1273190400000,0.0845257],[1273276800000,0.0857294],[1273363200000,0.0857294],[1273449600000,0.0857294],[1273536000000,0.0857294],[1273622400000,0.0857412],[1273708800000,0.0851668],[1273795200000,0.0852751],[1273881600000,0.0856861],[1273968000000,null],[1274054400000,0.0856861],[1274140800000,0.0857291],[1274227200000,0.0854172],[1274313600000,0.0864507],[1274400000000,0.0873364],[1274486400000,0.0883699],[1274572800000,0.0883699],[1274659200000,0.0883699],[1274745600000,0.0883699],[1274832000000,0.0884446],[1274918400000,0.08761],[1275004800000,0.0876632],[1275091200000,0.0868074],[1275177600000,0.0868074],[1275264000000,0.0868074]], 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: [[1272672000000, 0.083883],[1272672000000, 0.083883],[1272758400000, 0.083883],[1272844800000, 0.083883],[1272931200000, 0.083883],[1273017600000, 0.083883],[1273104000000, 0.083511],[1273190400000, 0.084526],[1273276800000, 0.085729],[1273363200000, 0.085729],[1273449600000, 0.085729],[1273536000000, 0.085729],[1273622400000, 0.085741],[1273708800000, 0.085167],[1273795200000, 0.085275],[1273881600000, 0.085686],[1274054400000, 0.085686],[1274140800000, 0.085729],[1274227200000, 0.085417],[1274313600000, 0.086451],[1274400000000, 0.087336],[1274486400000, 0.088370],[1274572800000, 0.088370],[1274659200000, 0.088370],[1274745600000, 0.088370],[1274832000000, 0.088445],[1274918400000, 0.087610],[1275004800000, 0.087663],[1275091200000, 0.086807],[1275177600000, 0.086807],[1275264000000, 0.086807]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });