$(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: [[1349049600000,8.33733],[1349136000000,8.27977],[1349222400000,8.24751],[1349308800000,8.16964],[1349395200000,8.16834],[1349481600000,8.19468],[1349568000000,8.19468],[1349654400000,8.19468],[1349740800000,8.14191],[1349827200000,8.17605],[1349913600000,8.19324],[1350000000000,8.21233],[1350086400000,8.1926],[1350172800000,8.1926],[1350259200000,8.1926],[1350345600000,8.18871],[1350432000000,8.21529],[1350518400000,8.26384],[1350604800000,8.30052],[1350691200000,8.27815],[1350777600000,8.27815],[1350864000000,8.27815],[1350950400000,8.24939],[1351036800000,8.20952],[1351123200000,8.25845],[1351209600000,8.3016],[1351296000000,8.26315],[1351382400000,8.26315],[1351468800000,8.26315],[1351555200000,8.2773],[1351641600000,8.29572]], 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: [[1349049600000, 8.337326],[1349049600000, 8.337326],[1349136000000, 8.279773],[1349222400000, 8.247505],[1349308800000, 8.169637],[1349395200000, 8.168338],[1349481600000, 8.194684],[1349568000000, 8.194684],[1349654400000, 8.194684],[1349740800000, 8.141914],[1349827200000, 8.176051],[1349913600000, 8.193238],[1350000000000, 8.212326],[1350086400000, 8.192604],[1350172800000, 8.192604],[1350259200000, 8.192604],[1350345600000, 8.188706],[1350432000000, 8.215290],[1350518400000, 8.263842],[1350604800000, 8.300520],[1350691200000, 8.278147],[1350777600000, 8.278147],[1350864000000, 8.278147],[1350950400000, 8.249392],[1351036800000, 8.209522],[1351123200000, 8.258455],[1351209600000, 8.301603],[1351296000000, 8.263146],[1351382400000, 8.263146],[1351468800000, 8.263146],[1351555200000, 8.277295],[1351641600000, 8.295722]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });