$(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: [[1385856000000,0.397184],[1385942400000,0.397184],[1386028800000,0.394765],[1386115200000,0.395111],[1386201600000,0.395662],[1386288000000,0.395835],[1386374400000,0.397352],[1386460800000,0.397352],[1386547200000,0.397352],[1386633600000,0.398865],[1386720000000,0.400334],[1386806400000,0.401107],[1386892800000,0.400741],[1386979200000,0.398489],[1387065600000,0.398489],[1387152000000,0.398489],[1387238400000,0.398955],[1387324800000,0.397352],[1387411200000,0.396249],[1387497600000,0.394983],[1387584000000,0.394593],[1387670400000,0.394593],[1387756800000,0.394593],[1387843200000,0.397186],[1387929600000,0.397212],[1388016000000,0.397212],[1388102400000,0.397212],[1388188800000,0.402315],[1388275200000,0.402315],[1388361600000,0.402315],[1388448000000,0.402315]], 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: [[1385856000000, 0.397184],[1385856000000, 0.397184],[1385942400000, 0.397184],[1386028800000, 0.394765],[1386115200000, 0.395111],[1386201600000, 0.395662],[1386288000000, 0.395835],[1386374400000, 0.397352],[1386460800000, 0.397352],[1386547200000, 0.397352],[1386633600000, 0.398865],[1386720000000, 0.400334],[1386806400000, 0.401107],[1386892800000, 0.400741],[1386979200000, 0.398489],[1387065600000, 0.398489],[1387152000000, 0.398489],[1387238400000, 0.398955],[1387324800000, 0.397352],[1387411200000, 0.396249],[1387497600000, 0.394983],[1387584000000, 0.394593],[1387670400000, 0.394593],[1387756800000, 0.394593],[1387843200000, 0.397186],[1387929600000, 0.397212],[1388016000000, 0.397212],[1388102400000, 0.397212],[1388188800000, 0.402315],[1388275200000, 0.402315],[1388361600000, 0.402315],[1388448000000, 0.402315]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });