$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1364774400000,1.37285],[1364860800000,1.37285],[1364947200000,1.3767],[1365033600000,1.37565],[1365120000000,1.3746],[1365206400000,1.38787],[1365292800000,1.38787],[1365379200000,1.38787],[1365465600000,1.39641],[1365552000000,1.39796],[1365638400000,1.40279],[1365724800000,1.40633],[1365811200000,1.39935],[1365897600000,1.39935],[1365984000000,1.39935],[1366070400000,1.40231],[1366156800000,1.40752],[1366243200000,1.40742],[1366329600000,1.39858],[1366416000000,1.40598],[1366502400000,1.40598],[1366588800000,1.40598],[1366675200000,1.3978],[1366761600000,1.39291],[1366848000000,1.3944],[1366934400000,1.40222],[1367020800000,1.39354],[1367107200000,1.39354],[1367193600000,1.39354],[1367280000000,1.40567]], 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: [[1364774400000, 1.372854],[1364774400000, 1.372854],[1364860800000, 1.372854],[1364947200000, 1.376699],[1365033600000, 1.375652],[1365120000000, 1.374598],[1365206400000, 1.387868],[1365292800000, 1.387868],[1365379200000, 1.387868],[1365465600000, 1.396413],[1365552000000, 1.397955],[1365638400000, 1.402792],[1365724800000, 1.406330],[1365811200000, 1.399354],[1365897600000, 1.399354],[1365984000000, 1.399354],[1366070400000, 1.402313],[1366156800000, 1.407515],[1366243200000, 1.407421],[1366329600000, 1.398585],[1366416000000, 1.405976],[1366502400000, 1.405976],[1366588800000, 1.405976],[1366675200000, 1.397802],[1366761600000, 1.392912],[1366848000000, 1.394403],[1366934400000, 1.402224],[1367020800000, 1.393541],[1367107200000, 1.393541],[1367193600000, 1.393541],[1367280000000, 1.405668]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });