Drawing API text object link option

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by RGraph support on 25th November 2013
Hi there,

A few new options have been added to the drawing API text object that allow you to more easily turn the text into a link. For example:

var text = new RGraph.Drawing.Text('cvs', 25,25,'Read more...')
     .Set('font', 'Arial bold italic')
     .Set('size', 10)
     .Set('halign', 'right')
     .Set('valign', 'bottom')
     .Set('colors', ['blue'])
     .Set('link', 'www.google.com')
     //.Set('link.target', '_blank')
     //.Set('link.options', 'width=400,height=400,top=200,left=200')

The link is triggered using window.open() so the options are the same as they are for that function.

Richard, RGraph Support
Please remember to link to the RGraph website (or buy an RGraph
license and you don't need to!)

Single developer license just £199:

Add a reply

« Back to message list