$(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: [[1257033600000,7.26904],[1257120000000,7.26904],[1257206400000,7.23713],[1257292800000,7.18251],[1257379200000,7.26832],[1257465600000,7.28158],[1257552000000,7.31703],[1257638400000,7.31703],[1257724800000,7.31703],[1257811200000,7.41755],[1257897600000,7.40653],[1257984000000,7.44888],[1258070400000,7.42876],[1258156800000,7.42147],[1258243200000,7.42147],[1258329600000,7.42147],[1258416000000,7.47436],[1258502400000,7.41782],[1258588800000,7.45787],[1258675200000,7.33375],[1258761600000,7.26252],[1258848000000,7.26252],[1258934400000,7.26252],[1259020800000,7.3769],[1259107200000,7.35833],[1259193600000,7.41794],[1259280000000,7.31818],[1259366400000,7.21264],[1259452800000,7.21264],[1259539200000,7.21264]], 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: [[1257033600000, 7.269043],[1257033600000, 7.269043],[1257120000000, 7.269043],[1257206400000, 7.237131],[1257292800000, 7.182510],[1257379200000, 7.268321],[1257465600000, 7.281577],[1257552000000, 7.317029],[1257638400000, 7.317029],[1257724800000, 7.317029],[1257811200000, 7.417549],[1257897600000, 7.406525],[1257984000000, 7.448875],[1258070400000, 7.428763],[1258156800000, 7.421470],[1258243200000, 7.421470],[1258329600000, 7.421470],[1258416000000, 7.474365],[1258502400000, 7.417819],[1258588800000, 7.457874],[1258675200000, 7.333747],[1258761600000, 7.262522],[1258848000000, 7.262522],[1258934400000, 7.262522],[1259020800000, 7.376901],[1259107200000, 7.358331],[1259193600000, 7.417945],[1259280000000, 7.318183],[1259366400000, 7.212641],[1259452800000, 7.212641],[1259539200000, 7.212641]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });