$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1354320000000,4.47151],[1354406400000,4.47151],[1354492800000,4.47151],[1354579200000,4.4736],[1354665600000,4.4783],[1354752000000,4.47232],[1354838400000,4.46744],[1354924800000,4.46188],[1355011200000,4.46188],[1355097600000,4.46188],[1355184000000,4.46106],[1355270400000,4.48164],[1355356800000,4.49301],[1355443200000,4.48988],[1355529600000,4.48625],[1355616000000,4.48625],[1355702400000,4.48625],[1355788800000,4.48142],[1355875200000,4.48679],[1355961600000,4.48961],[1356048000000,4.47297],[1356134400000,4.45314],[1356220800000,4.45314],[1356307200000,4.45314],[1356393600000,4.44493],[1356480000000,4.44493],[1356566400000,4.44493],[1356652800000,4.46332],[1356739200000,4.46793],[1356825600000,4.46793],[1356912000000,4.46793]], 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: [[1354320000000, 4.471507],[1354320000000, 4.471507],[1354406400000, 4.471507],[1354492800000, 4.471507],[1354579200000, 4.473599],[1354665600000, 4.478297],[1354752000000, 4.472315],[1354838400000, 4.467440],[1354924800000, 4.461877],[1355011200000, 4.461877],[1355097600000, 4.461877],[1355184000000, 4.461065],[1355270400000, 4.481640],[1355356800000, 4.493005],[1355443200000, 4.489882],[1355529600000, 4.486245],[1355616000000, 4.486245],[1355702400000, 4.486245],[1355788800000, 4.481420],[1355875200000, 4.486785],[1355961600000, 4.489608],[1356048000000, 4.472973],[1356134400000, 4.453142],[1356220800000, 4.453142],[1356307200000, 4.453142],[1356393600000, 4.444927],[1356480000000, 4.444927],[1356566400000, 4.444927],[1356652800000, 4.463322],[1356739200000, 4.467932],[1356825600000, 4.467932],[1356912000000, 4.467932]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });