$(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: [[1241136000000,1.37234],[1241222400000,1.37234],[1241308800000,null],[1241395200000,1.37234],[1241481600000,1.37234],[1241568000000,1.38561],[1241654400000,1.37718],[1241740800000,1.38418],[1241827200000,1.38311],[1241913600000,1.38311],[1242000000000,1.38311],[1242086400000,1.38311],[1242172800000,1.40633],[1242259200000,1.39482],[1242345600000,1.38831],[1242432000000,1.38368],[1242518400000,1.38368],[1242604800000,1.38368],[1242691200000,1.38128],[1242777600000,1.39306],[1242864000000,1.40043],[1242950400000,1.4086],[1243036800000,1.42914],[1243123200000,1.42914],[1243209600000,1.42914],[1243296000000,1.43289],[1243382400000,1.42325],[1243468800000,1.42274],[1243555200000,1.41804],[1243641600000,1.4426],[1243728000000,1.4426]], 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: [[1241136000000, 1.372342],[1241136000000, 1.372342],[1241222400000, 1.372342],[1241395200000, 1.372342],[1241481600000, 1.372342],[1241568000000, 1.385611],[1241654400000, 1.377182],[1241740800000, 1.384182],[1241827200000, 1.383107],[1241913600000, 1.383107],[1242000000000, 1.383107],[1242086400000, 1.383107],[1242172800000, 1.406326],[1242259200000, 1.394824],[1242345600000, 1.388315],[1242432000000, 1.383678],[1242518400000, 1.383678],[1242604800000, 1.383678],[1242691200000, 1.381280],[1242777600000, 1.393062],[1242864000000, 1.400425],[1242950400000, 1.408597],[1243036800000, 1.429138],[1243123200000, 1.429138],[1243209600000, 1.429138],[1243296000000, 1.432891],[1243382400000, 1.423248],[1243468800000, 1.422741],[1243555200000, 1.418041],[1243641600000, 1.442596],[1243728000000, 1.442596]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });