$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[1059696000000,8.5537],[1059782400000,8.5537],[1059868800000,8.5537],[1059955200000,8.59396],[1060041600000,8.59396],[1060128000000,8.57705],[1060214400000,8.61558],[1060300800000,8.56968],[1060387200000,8.58576],[1060473600000,8.58576],[1060560000000,8.53677],[1060646400000,8.53692],[1060732800000,8.55028],[1060819200000,8.55028],[1060905600000,8.52087],[1060992000000,8.52087],[1061078400000,8.52087],[1061164800000,8.4816],[1061251200000,8.4816],[1061337600000,8.43874],[1061424000000,8.45286],[1061510400000,8.39447],[1061596800000,8.39447],[1061683200000,8.39447],[1061769600000,8.39447],[1061856000000,8.33557],[1061942400000,8.37544],[1062028800000,8.36235],[1062115200000,8.41139],[1062201600000,8.41139],[1062288000000,8.41139]], 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: [[1059696000000, 8.553700],[1059696000000, 8.553700],[1059782400000, 8.553700],[1059868800000, 8.553700],[1059955200000, 8.593960],[1060041600000, 8.593960],[1060128000000, 8.577050],[1060214400000, 8.615580],[1060300800000, 8.569680],[1060387200000, 8.585760],[1060473600000, 8.585760],[1060560000000, 8.536770],[1060646400000, 8.536920],[1060732800000, 8.550280],[1060819200000, 8.550280],[1060905600000, 8.520870],[1060992000000, 8.520870],[1061078400000, 8.520870],[1061164800000, 8.481600],[1061251200000, 8.481600],[1061337600000, 8.438740],[1061424000000, 8.452860],[1061510400000, 8.394470],[1061596800000, 8.394470],[1061683200000, 8.394470],[1061769600000, 8.394470],[1061856000000, 8.335570],[1061942400000, 8.375440],[1062028800000, 8.362350],[1062115200000, 8.411390],[1062201600000, 8.411390],[1062288000000, 8.411390]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });