$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1343779200000,14.1052],[1343865600000,14.1091],[1343952000000,14.1601],[1344038400000,14.0523],[1344124800000,14.0523],[1344211200000,14.0523],[1344297600000,14.2102],[1344384000000,14.2776],[1344470400000,14.1608],[1344556800000,14.1267],[1344643200000,14.0779],[1344729600000,14.0779],[1344816000000,14.0779],[1344902400000,14.1642],[1344988800000,14.1812],[1345075200000,14.0939],[1345161600000,14.0974],[1345248000000,14.1619],[1345334400000,14.1619],[1345420800000,14.1619],[1345507200000,14.1215],[1345593600000,14.2664],[1345680000000,14.2894],[1345766400000,14.4088],[1345852800000,14.4088],[1345939200000,14.4088],[1346025600000,14.4088],[1346112000000,14.3835],[1346198400000,14.4042],[1346284800000,14.4007],[1346371200000,14.4016]], 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, 14.105159],[1343779200000, 14.105159],[1343865600000, 14.109073],[1343952000000, 14.160077],[1344038400000, 14.052302],[1344124800000, 14.052302],[1344211200000, 14.052302],[1344297600000, 14.210160],[1344384000000, 14.277643],[1344470400000, 14.160800],[1344556800000, 14.126709],[1344643200000, 14.077875],[1344729600000, 14.077875],[1344816000000, 14.077875],[1344902400000, 14.164243],[1344988800000, 14.181203],[1345075200000, 14.093948],[1345161600000, 14.097393],[1345248000000, 14.161948],[1345334400000, 14.161948],[1345420800000, 14.161948],[1345507200000, 14.121502],[1345593600000, 14.266409],[1345680000000, 14.289367],[1345766400000, 14.408751],[1345852800000, 14.408751],[1345939200000, 14.408751],[1346025600000, 14.408751],[1346112000000, 14.383497],[1346198400000, 14.404160],[1346284800000, 14.400716],[1346371200000, 14.401636]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });