$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1249084800000,0.425644],[1249171200000,0.425644],[1249257600000,0.425644],[1249344000000,0.427865],[1249430400000,0.427215],[1249516800000,0.426718],[1249603200000,0.426381],[1249689600000,0.426876],[1249776000000,0.426876],[1249862400000,0.426876],[1249948800000,0.426425],[1250035200000,0.424837],[1250121600000,0.425595],[1250208000000,0.430323],[1250294400000,0.431453],[1250380800000,0.431453],[1250467200000,0.431453],[1250553600000,0.42598],[1250640000000,0.43181],[1250726400000,0.430753],[1250812800000,0.438919],[1250899200000,0.446512],[1250985600000,0.446512],[1251072000000,0.446512],[1251158400000,0.446512],[1251244800000,0.449859],[1251331200000,0.448831],[1251417600000,0.448662],[1251504000000,0.451432],[1251590400000,0.451432],[1251676800000,0.451432]], 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: [[1249084800000, 0.425644],[1249084800000, 0.425644],[1249171200000, 0.425644],[1249257600000, 0.425644],[1249344000000, 0.427865],[1249430400000, 0.427215],[1249516800000, 0.426718],[1249603200000, 0.426381],[1249689600000, 0.426876],[1249776000000, 0.426876],[1249862400000, 0.426876],[1249948800000, 0.426425],[1250035200000, 0.424837],[1250121600000, 0.425595],[1250208000000, 0.430323],[1250294400000, 0.431453],[1250380800000, 0.431453],[1250467200000, 0.431453],[1250553600000, 0.425980],[1250640000000, 0.431810],[1250726400000, 0.430753],[1250812800000, 0.438919],[1250899200000, 0.446512],[1250985600000, 0.446512],[1251072000000, 0.446512],[1251158400000, 0.446512],[1251244800000, 0.449859],[1251331200000, 0.448831],[1251417600000, 0.448662],[1251504000000, 0.451432],[1251590400000, 0.451432],[1251676800000, 0.451432]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });