$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[1343779200000,9.8186],[1343865600000,9.82979],[1343952000000,9.86816],[1344038400000,9.78743],[1344124800000,9.78743],[1344211200000,9.78743],[1344297600000,9.89453],[1344384000000,9.94009],[1344470400000,9.86017],[1344556800000,9.83219],[1344643200000,9.80102],[1344729600000,9.80102],[1344816000000,9.80102],[1344902400000,9.86256],[1344988800000,9.87295],[1345075200000,9.81221],[1345161600000,9.81461],[1345248000000,9.86096],[1345334400000,9.86096],[1345420800000,9.86096],[1345507200000,9.83139],[1345593600000,9.9337],[1345680000000,9.94969],[1345766400000,10.0328],[1345852800000,10.0328],[1345939200000,10.0328],[1346025600000,10.0328],[1346112000000,10.0152],[1346198400000,10.0296],[1346284800000,10.0272],[1346371200000,10.0264]], 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, 9.818601],[1343779200000, 9.818601],[1343865600000, 9.829791],[1343952000000, 9.868158],[1344038400000, 9.787428],[1344124800000, 9.787428],[1344211200000, 9.787428],[1344297600000, 9.894535],[1344384000000, 9.940095],[1344470400000, 9.860165],[1344556800000, 9.832189],[1344643200000, 9.801017],[1344729600000, 9.801017],[1344816000000, 9.801017],[1344902400000, 9.862563],[1344988800000, 9.872954],[1345075200000, 9.812207],[1345161600000, 9.814605],[1345248000000, 9.860964],[1345334400000, 9.860964],[1345420800000, 9.860964],[1345507200000, 9.831390],[1345593600000, 9.933700],[1345680000000, 9.949686],[1345766400000, 10.032814],[1345852800000, 10.032814],[1345939200000, 10.032814],[1346025600000, 10.032814],[1346112000000, 10.015229],[1346198400000, 10.029616],[1346284800000, 10.027219],[1346371200000, 10.026419]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });