$(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: [[1275350400000,6.69142],[1275436800000,6.60018],[1275523200000,6.61396],[1275609600000,6.71972],[1275696000000,6.65072],[1275782400000,6.65072],[1275868800000,6.65072],[1275955200000,6.48506],[1276041600000,6.48697],[1276128000000,6.56924],[1276214400000,6.66381],[1276300800000,6.71246],[1276387200000,6.71246],[1276473600000,6.71246],[1276560000000,6.81831],[1276646400000,6.7836],[1276732800000,6.81205],[1276819200000,6.84973],[1276905600000,6.86968],[1276992000000,6.86968],[1277078400000,6.86968],[1277164800000,6.98557],[1277251200000,6.92019],[1277337600000,6.90237],[1277424000000,6.84005],[1277510400000,6.83688],[1277596800000,6.83688],[1277683200000,6.83688],[1277769600000,6.83688],[1277856000000,6.76839]], 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: [[1275350400000, 6.691425],[1275350400000, 6.691425],[1275436800000, 6.600177],[1275523200000, 6.613959],[1275609600000, 6.719717],[1275696000000, 6.650716],[1275782400000, 6.650716],[1275868800000, 6.650716],[1275955200000, 6.485058],[1276041600000, 6.486966],[1276128000000, 6.569244],[1276214400000, 6.663806],[1276300800000, 6.712461],[1276387200000, 6.712461],[1276473600000, 6.712461],[1276560000000, 6.818314],[1276646400000, 6.783600],[1276732800000, 6.812052],[1276819200000, 6.849730],[1276905600000, 6.869677],[1276992000000, 6.869677],[1277078400000, 6.869677],[1277164800000, 6.985568],[1277251200000, 6.920189],[1277337600000, 6.902372],[1277424000000, 6.840050],[1277510400000, 6.836879],[1277596800000, 6.836879],[1277683200000, 6.836879],[1277769600000, 6.836879],[1277856000000, 6.768392]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });