$(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: 'Курс JPY, грн'}, 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: 'Курс JPY', data: [[1109635200000,0.0508902],[1109721600000,0.0507824],[1109808000000,0.0505108],[1109894400000,0.0505295],[1109980800000,0.0502301],[1110067200000,0.0502301],[1110153600000,0.0502301],[1110240000000,0.0502301],[1110326400000,0.0502301],[1110412800000,0.0507978],[1110499200000,0.050873],[1110585600000,0.0508707],[1110672000000,0.0508707],[1110758400000,0.0508707],[1110844800000,0.0505305],[1110931200000,0.050701],[1111017600000,0.0508093],[1111104000000,0.0506798],[1111190400000,0.0504493],[1111276800000,0.0504493],[1111363200000,0.0504493],[1111449600000,null],[1111536000000,0.0503476],[1111622400000,0.0500468],[1111708800000,0.0496446],[1111795200000,0.0496446],[1111881600000,0.0496446],[1111968000000,0.0496446],[1112054400000,0.0496446],[1112140800000,0.0492467],[1112227200000,0.0491263]], 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.050890],[1109635200000, 0.050890],[1109721600000, 0.050782],[1109808000000, 0.050511],[1109894400000, 0.050529],[1109980800000, 0.050230],[1110067200000, 0.050230],[1110153600000, 0.050230],[1110240000000, 0.050230],[1110326400000, 0.050230],[1110412800000, 0.050798],[1110499200000, 0.050873],[1110585600000, 0.050871],[1110672000000, 0.050871],[1110758400000, 0.050871],[1110844800000, 0.050530],[1110931200000, 0.050701],[1111017600000, 0.050809],[1111104000000, 0.050680],[1111190400000, 0.050449],[1111276800000, 0.050449],[1111363200000, 0.050449],[1111536000000, 0.050348],[1111622400000, 0.050047],[1111708800000, 0.049645],[1111795200000, 0.049645],[1111881600000, 0.049645],[1111968000000, 0.049645],[1112054400000, 0.049645],[1112140800000, 0.049247],[1112227200000, 0.049126]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });