No chart.title available in VProgress bar if labels.specific are defined


« 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 Joseph on 17th January 2013
I would like to display a chart title above a vertical progress bar AND use labels.specific, but this is not possible. Any workaround?
Posted by RGraph support on 18th January 2013
Hi,

That might be a bug - I'll look at that.

1 Year Premium Support now reduced to £299:
   www.rgraph.net/support

Richard, RGraph Support
Posted by RGraph support on 18th January 2013
Hi,

Ok this is now fixed and will be part of the next beta:

dev.rgraph.net/tests/hprogress/hprogress1.html
dev.rgraph.net/tests/vprogress/vprogress1.html

PS Could you link to the RGraph website - thanks.

Richard, RGraph Support
Posted by Joseph on 18th January 2013
Thanks for implementing this, Richard.
It does work, except when graph.title.font is not defined when calling RGraph.VProgress.
I suggest replacing line 610 from:
this.Get('chart.title.font') ? this.Get('chart.title.font') : font,
to:
typeof(this.Get('chart.title.font')) == 'string' ? this.Get('chart.title.font') : text_font,
Joseph
Posted by RGraph support on 18th January 2013
Hi,

Thanks - I'll add that in.

1 Year Premium Support now reduced to £299:
   www.rgraph.net/support

Richard, RGraph Support

Add a reply

 




« Back to message list
RGraph on social media