$(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: [[1146441600000,9.09522],[1146528000000,9.09522],[1146614400000,9.09522],[1146700800000,9.15689],[1146787200000,9.13381],[1146873600000,9.20609],[1146960000000,9.20609],[1147046400000,9.20609],[1147132800000,9.20609],[1147219200000,9.20609],[1147305600000,9.26946],[1147392000000,9.22243],[1147478400000,9.37007],[1147564800000,9.37007],[1147651200000,9.37007],[1147737600000,9.30622],[1147824000000,9.29969],[1147910400000,9.34685],[1147996800000,9.26559],[1148083200000,9.26208],[1148169600000,9.26208],[1148256000000,9.26208],[1148342400000,9.25325],[1148428800000,9.3171],[1148515200000,9.32436],[1148601600000,9.2547],[1148688000000,9.28385],[1148774400000,9.28385],[1148860800000,9.28385],[1148947200000,9.25688],[1149033600000,9.31699]], 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: [[1146441600000, 9.095223],[1146441600000, 9.095223],[1146528000000, 9.095223],[1146614400000, 9.095223],[1146700800000, 9.156888],[1146787200000, 9.133812],[1146873600000, 9.206092],[1146960000000, 9.206092],[1147046400000, 9.206092],[1147132800000, 9.206092],[1147219200000, 9.206092],[1147305600000, 9.269456],[1147392000000, 9.222433],[1147478400000, 9.370072],[1147564800000, 9.370072],[1147651200000, 9.370072],[1147737600000, 9.306221],[1147824000000, 9.299691],[1147910400000, 9.346853],[1147996800000, 9.265589],[1148083200000, 9.262082],[1148169600000, 9.262082],[1148256000000, 9.262082],[1148342400000, 9.253254],[1148428800000, 9.317105],[1148515200000, 9.324361],[1148601600000, 9.254705],[1148688000000, 9.283846],[1148774400000, 9.283846],[1148860800000, 9.283846],[1148947200000, 9.256882],[1149033600000, 9.316992]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });