$(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: [[1133395200000,8.47315],[1133481600000,8.47315],[1133568000000,8.43072],[1133654400000,8.43072],[1133740800000,8.43072],[1133827200000,8.40266],[1133913600000,8.47315],[1134000000000,8.45896],[1134086400000,8.41667],[1134172800000,8.48739],[1134259200000,8.48739],[1134345600000,8.48739],[1134432000000,8.50168],[1134518400000,8.58844],[1134604800000,8.61775],[1134691200000,8.61775],[1134777600000,8.60307],[1134864000000,8.60307],[1134950400000,8.60307],[1135036800000,8.63248],[1135123200000,8.61775],[1135209600000,8.53041],[1135296000000,8.50168],[1135382400000,8.50168],[1135468800000,8.50168],[1135555200000,8.50168],[1135641600000,8.53041],[1135728000000,8.50168],[1135814400000,8.51602],[1135900800000,8.51602]], 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: [[1133395200000, 8.473154],[1133395200000, 8.473154],[1133481600000, 8.473154],[1133568000000, 8.430718],[1133654400000, 8.430718],[1133740800000, 8.430718],[1133827200000, 8.402662],[1133913600000, 8.473154],[1134000000000, 8.458961],[1134086400000, 8.416667],[1134172800000, 8.487395],[1134259200000, 8.487395],[1134345600000, 8.487395],[1134432000000, 8.501684],[1134518400000, 8.588435],[1134604800000, 8.617747],[1134691200000, 8.617747],[1134777600000, 8.603066],[1134864000000, 8.603066],[1134950400000, 8.603066],[1135036800000, 8.632479],[1135123200000, 8.617747],[1135209600000, 8.530405],[1135296000000, 8.501684],[1135382400000, 8.501684],[1135468800000, 8.501684],[1135555200000, 8.501684],[1135641600000, 8.530405],[1135728000000, 8.501684],[1135814400000, 8.516020],[1135900800000, 8.516020]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });