I am using gevgeny/angular2-highcharts to use highchart in angular project. I am trying to use Highcharts.SVGRenderer#text.
It work in highstock normally
Woking Fiddle
If same code I use in angular2-highcharts it is not working
Check Plunker
Snippet
chart:{
events:{
load:function(){
var charts=this;
charts.renderer.text('Series 1', 10, 11)
.attr({
rotation: -25
})
.css({
color: '#4572A7',
fontSize: '16px'
})
.add();
}
}
},
How I can use renderer.text
in angular2 highcharts?