上证50股息率
图
微信
Loading...
日期选择
确定
上证50股息率
更新频率:weekly
展示上证50股息率,3个月人民币理财产品以及10年期国债到期收益率的时间序列。
Highcharts.stockChart('container', { chart: { type: 'line', zoomType: 'xy', }, yAxis: [{ endOnTick: false, labels:{ formatter: function(){return this.value + '%';} }, startOnTick: false, }, { gridLineWidth: 0, minorGridLineWidth: 0, opposite: true, lineWidth: 1, lineColor: '#bfbfbf', tickColor: '#bfbfbf', tickLength: 5, tickWidth: 1, title: { text: "" }, endOnTick: false, startOnTick: false, x: 5, visible: true, }], plotOptions: { line: { tooltip:{ pointFormatter: function() { var res; if(this.series.name.match(/[\u4E00-\u9FCC]*([\率]+|[\占比]+)/)) { res = ['
\u25CF
', this.series.name, ':
',Math.round(this.y*100)/100,'%
' ].join(''); } else { res = ['
\u25CF
', this.series.name, ':
',Math.round(this.y*100)/100,'
' ].join(''); } return res; }, shared: true } } }, rangeSelector: { selected: 2, inputEnabled:false, allButtonsEnabled:false, buttons: [{type: 'year',count: 1,text: '1年'}, {type: 'year',count: 3,text: '3年'}, {type: 'year',count: 5,text: '5年'}, {type: 'all',text: '全部'}] }, legend:{ enabled:true, }, series: [{ data: data0, name: '上证50股息率', zIndex: 1, }, { data: data1, name: '理财产品预期年收益率:人民币:全市场:3个月', zIndex: 1, }, { data: data4, name: '国债到期收益率:10年', zIndex: 0, yAixs: 1, visible: true, }], });