The drawing API text object has a new link option

« 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', '')
     //.Set('', '_blank')
     //.Set('link.options', 'width=400,height=400,top=200,left=200')

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


Add a reply

« Back to message list