$(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: 'Курс PLN, грн'}, 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: 'Курс PLN', data: [[1343779200000,2.39186],[1343865600000,2.39412],[1343952000000,2.40505],[1344038400000,2.39348],[1344124800000,2.39348],[1344211200000,2.39348],[1344297600000,2.45248],[1344384000000,2.45398],[1344470400000,2.4105],[1344556800000,2.41708],[1344643200000,2.39277],[1344729600000,2.39277],[1344816000000,2.39277],[1344902400000,2.41611],[1344988800000,2.41789],[1345075200000,2.40054],[1345161600000,2.40725],[1345248000000,2.41655],[1345334400000,2.41655],[1345420800000,2.41655],[1345507200000,2.41575],[1345593600000,2.44528],[1345680000000,2.44098],[1345766400000,2.45854],[1345852800000,2.45854],[1345939200000,2.45854],[1346025600000,2.45854],[1346112000000,2.45592],[1346198400000,2.44553],[1346284800000,2.413],[1346371200000,2.38906]], 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: [[1343779200000, 2.391864],[1343779200000, 2.391864],[1343865600000, 2.394123],[1343952000000, 2.405049],[1344038400000, 2.393482],[1344124800000, 2.393482],[1344211200000, 2.393482],[1344297600000, 2.452481],[1344384000000, 2.453981],[1344470400000, 2.410504],[1344556800000, 2.417078],[1344643200000, 2.392768],[1344729600000, 2.392768],[1344816000000, 2.392768],[1344902400000, 2.416110],[1344988800000, 2.417886],[1345075200000, 2.400540],[1345161600000, 2.407251],[1345248000000, 2.416548],[1345334400000, 2.416548],[1345420800000, 2.416548],[1345507200000, 2.415753],[1345593600000, 2.445279],[1345680000000, 2.440982],[1345766400000, 2.458541],[1345852800000, 2.458541],[1345939200000, 2.458541],[1346025600000, 2.458541],[1346112000000, 2.455917],[1346198400000, 2.445532],[1346284800000, 2.412999],[1346371200000, 2.389063]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });