Wind全A市盈率倒数与十年国债收益率
图
微信
Loading...
Wind全A市盈率倒数与十年国债收益率
更新频率:daily
var series1 = []; var series2 = []; $.each(data0, function(i, v){ series1.push({x: v.DT, y: v['RE']*100}); }); $.each(data1, function(i, v){ series2.push({x: v.DT, y: v['CLOSE']}); }); Highcharts.stockChart('container', { chart: { type:'spline', zoomType: 'xy', }, xAxis: { ordinal: false }, yAxis: [{ visible: true, plotLines: [{color: '#C0C0C0', width: 2, value: 0}] },{ labels: {format: "{value}"}, visible: true, }, { visible: true,reversed:false }], rangeSelector: { selected: 1, buttons: [{ type: 'year', count: 1, text: '1年' }, { type: 'year', count: 5, text: '5年' }, { type: 'year', count: 10, text: '10年' }, { type: 'all', text: '全部' }] }, legend:{ enabled: true, }, navigator:{ enabled: false, }, series: [{ data: series1, name: 'Wind全A市盈率(TTM)倒数', zIndex: 1, yAxis: 0, tooltip: { valueDecimals: 2, valueSuffix: '%' }, visible: true, color: '#1749AB' } ,{ data: series2, name: '10Y国债收益(RHS,领先7个月)', zIndex: 1, yAxis: 2, tooltip: { valueDecimals: 2, valueSuffix: '%' }, visible: true, color: '#C54322' }], });