$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1385856000000,7.2849],[1385942400000,7.2849],[1386028800000,7.30443],[1386115200000,7.29704],[1386201600000,7.22058],[1386288000000,7.22548],[1386374400000,7.24808],[1386460800000,7.24808],[1386547200000,7.24808],[1386633600000,7.26309],[1386720000000,7.30792],[1386806400000,7.27631],[1386892800000,7.23889],[1386979200000,7.14555],[1387065600000,7.14555],[1387152000000,7.14555],[1387238400000,7.1501],[1387324800000,7.12637],[1387411200000,7.12037],[1387497600000,7.07286],[1387584000000,7.085],[1387670400000,7.085],[1387756800000,7.085],[1387843200000,7.14883],[1387929600000,7.13478],[1388016000000,7.13478],[1388102400000,7.13478],[1388188800000,7.12081],[1388275200000,7.12081],[1388361600000,7.12081],[1388448000000,7.12081]], 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, 7.284902],[1385856000000, 7.284902],[1385942400000, 7.284902],[1386028800000, 7.304432],[1386115200000, 7.297045],[1386201600000, 7.220581],[1386288000000, 7.225485],[1386374400000, 7.248083],[1386460800000, 7.248083],[1386547200000, 7.248083],[1386633600000, 7.263092],[1386720000000, 7.307916],[1386806400000, 7.276310],[1386892800000, 7.238894],[1386979200000, 7.145549],[1387065600000, 7.145549],[1387152000000, 7.145549],[1387238400000, 7.150102],[1387324800000, 7.126370],[1387411200000, 7.120368],[1387497600000, 7.072861],[1387584000000, 7.084999],[1387670400000, 7.084999],[1387756800000, 7.084999],[1387843200000, 7.148831],[1387929600000, 7.134782],[1388016000000, 7.134782],[1388102400000, 7.134782],[1388188800000, 7.120811],[1388275200000, 7.120811],[1388361600000, 7.120811],[1388448000000, 7.120811]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });