$(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: [[1330560000000,8.64872],[1330646400000,8.60673],[1330732800000,8.60872],[1330819200000,8.60872],[1330905600000,8.60872],[1330992000000,8.54795],[1331078400000,8.4608],[1331164800000,8.43564],[1331251200000,8.43564],[1331337600000,8.43564],[1331424000000,8.43564],[1331510400000,8.43564],[1331596800000,8.38281],[1331683200000,8.37835],[1331769600000,8.36035],[1331856000000,8.39213],[1331942400000,8.44539],[1332028800000,8.44539],[1332115200000,8.44539],[1332201600000,8.4326],[1332288000000,8.37327],[1332374400000,8.35192],[1332460800000,8.28196],[1332547200000,8.29711],[1332633600000,8.29711],[1332720000000,8.29711],[1332806400000,8.3938],[1332892800000,8.39629],[1332979200000,8.30515],[1333065600000,8.26185],[1333152000000,8.3115]], 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: [[1330560000000, 8.648720],[1330560000000, 8.648720],[1330646400000, 8.606731],[1330732800000, 8.608724],[1330819200000, 8.608724],[1330905600000, 8.608724],[1330992000000, 8.547949],[1331078400000, 8.460796],[1331164800000, 8.435644],[1331251200000, 8.435644],[1331337600000, 8.435644],[1331424000000, 8.435644],[1331510400000, 8.435644],[1331596800000, 8.382808],[1331683200000, 8.378347],[1331769600000, 8.360350],[1331856000000, 8.392134],[1331942400000, 8.445388],[1332028800000, 8.445388],[1332115200000, 8.445388],[1332201600000, 8.432601],[1332288000000, 8.373274],[1332374400000, 8.351916],[1332460800000, 8.281956],[1332547200000, 8.297108],[1332633600000, 8.297108],[1332720000000, 8.297108],[1332806400000, 8.393804],[1332892800000, 8.396289],[1332979200000, 8.305153],[1333065600000, 8.261846],[1333152000000, 8.311498]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });