The chart.title.yaxis.pos option and the ylabelsspecific does nothing and are ignored

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 Bradley on 27th February 2017
I tried for a long time to make my graph look better. I thought "chart.title.yaxis.pos" was the magic potion that would at least move the hidden yaxis label somewhere where it wouldn't be so overshadowed by the y axis tick labels Also, the "ylabelsspecific" array of strings are ignored, unless I typed the property name in wrong.

var Dollars = ["0", "5K","10K","15K", "20K"];

.Set("ylabelsspecific", Dollars)

I wanted to use 0,5K,10K,15K and 20K versus the longer numbers.

What the line object really needs is the ability to specify the exact x,y coordinate for the yaxis label (and xaxis label for that matter).

Can anyone advise me on how to fix my issue?

(image of my graph on picture hosting website)
puu.sh/uloNg/c6ef8e3dff.png
Posted by Richard on 27th February 2017
Hi there,

You appear to have missed out the necessary capitalization, so try this instead:

.set('ylabelsSpecific', 'Dollars')


Richard

Add a reply




« Back to message list