Links to your chart is limited to 5 links only


« 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 Jeremiah on 31st July 2015
Hi There,

On the example found in the link below, and applying it to my chart. I found I'm limited to 5 links only.
www.rgraph.net/docs/howto-linking.html

How can I increase it when my chart has 30 bars and I need 30 links.

Thanks for your time.
Posted by Richard Heyes on 31st July 2015
Hi there,

Just increase the number of links that you give to thirty:

...

tooltips: [
     'Link 1: <a href="www.google.com\" target="_blank" >Google</a>',
     'Link 2: <a href="www.yahoo.com\" target="_blank" >Yahoo</a>',
     'Link 3: <a href="www.bing.com\" target="_blank" >Bing</a>',
     'Link 4: <a href="news.bbc.co.uk\" target="_blank" >BBC News</a>',
     'Link 6: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 7: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 8: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 9: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 10: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 11: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 12: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 13: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 14: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 15: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 16: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 17: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 18: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 19: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 20: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 21: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 22: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 23: <a href="www.facebook.com\" target="_blank" >Facebook</a>',
     'Link 24: <a href="www.facebook.com\" target="_blank" >Facebook</a>'
],

...

It would be better though if you can build the tooltips array in a loop - so that you don't have to manually specify each tooltip.


Richard

Add a reply

 




« Back to message list
RGraph on social media