$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1109635200000,0.00108364],[1109721600000,0.00108404],[1109808000000,0.00108445],[1109894400000,0.00108489],[1109980800000,0.00108477],[1110067200000,0.00108477],[1110153600000,0.00108477],[1110240000000,0.00108477],[1110326400000,0.00108477],[1110412800000,0.00108511],[1110499200000,0.00108569],[1110585600000,0.00108591],[1110672000000,0.00108591],[1110758400000,0.00108591],[1110844800000,0.00108524],[1110931200000,0.00108595],[1111017600000,0.00108656],[1111104000000,0.00108619],[1111190400000,0.00108655],[1111276800000,0.00108655],[1111363200000,0.00108655],[1111449600000,null],[1111536000000,0.00108685],[1111622400000,0.00108502],[1111708800000,0.00108553],[1111795200000,0.0010862],[1111881600000,0.0010862],[1111968000000,0.0010862],[1112054400000,0.00108687],[1112140800000,0.00108728],[1112227200000,0.00108748]], 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: [[1109635200000, 0.001084],[1109635200000, 0.001084],[1109721600000, 0.001084],[1109808000000, 0.001084],[1109894400000, 0.001085],[1109980800000, 0.001085],[1110067200000, 0.001085],[1110153600000, 0.001085],[1110240000000, 0.001085],[1110326400000, 0.001085],[1110412800000, 0.001085],[1110499200000, 0.001086],[1110585600000, 0.001086],[1110672000000, 0.001086],[1110758400000, 0.001086],[1110844800000, 0.001085],[1110931200000, 0.001086],[1111017600000, 0.001087],[1111104000000, 0.001086],[1111190400000, 0.001087],[1111276800000, 0.001087],[1111363200000, 0.001087],[1111536000000, 0.001087],[1111622400000, 0.001085],[1111708800000, 0.001086],[1111795200000, 0.001086],[1111881600000, 0.001086],[1111968000000, 0.001086],[1112054400000, 0.001087],[1112140800000, 0.001087],[1112227200000, 0.001087]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });