It is currently Fri Jul 25, 2014 3:40 pm Advanced search

how do you remove or update a text item using the renderer?

Technical support, bug reports and more.

how do you remove or update a text item using the renderer?

Postby mrfish » Thu Feb 23, 2012 1:55 pm

.add(); appears to add text to the chart, but how would i remove or update it?

chartName.renderer.text('Some text in here...', 530, 32)
.css({
color: '#FFF',
fontSize: '16px'
})
.attr({
zIndex: 4
})
.add();
}
mrfish
 
Posts: 8
Joined: Wed Feb 08, 2012 6:08 pm

Re: how do you remove or update a text item using the render

Postby Fusher » Thu Feb 23, 2012 2:43 pm

Check this example : http://jsfiddle.net/CDnes/
Paweł Fus
Highcharts support team
Fusher
 
Posts: 6566
Joined: Mon Jan 30, 2012 12:16 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: Bing [Bot] and 10 guests