Legends in two lines


« 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 Anus on 16th November 2013
in js i have...
this.cnnlNames=['D1','D2','D3','D4','D5','D6','D7','InD1','InD2','InD3','InD4','InD5','InD6','InD7','InDirect8'];


in html i ve given like this...
  var clChannel= new RGraph.Line('cChannel',mdl.chnlVal);
    RGraph.SetConfig(clChannel,cMulLineCfg);
    clChannel.Set('labels', ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul','Aug','Sep','Oct','Nov','Dec']);
    clChannel.Set('key',mdl.cnnlNames);
    clChannel.Set('key.position','gutter');
     clChannel.Draw();


i have to display these legends in two lines below the chart..
Posted by RGraph support on 18th November 2013
Hi there,

Sorry - keys are only on one line - either vertical or horizontal. There's a new HTML based key that you may wish to look at in the latest beta - but I suspect that this won't do quite what you want.

www.rgraph.net/docs/html-based-keys.html





Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
    www.rgraph.net/license#single-site
Posted by Anus on 18th November 2013
In gutter mode can we display keys vertically?

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

No - that would be graph mode. I you want to move the key you can specify the X/Y coordinates.


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:
   www.rgraph.net/license#one-developer
Posted by Anus on 18th November 2013
but my graph working properly in gutter mode only,
if i give graph mode chart is not displaying...

suggest me some other options plz...

thanks!
Posted by RGraph support on 18th November 2013
Hi there,

Try putting an example of your chart online and post a link to it.


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:
   www.rgraph.net/license#one-developer
Posted by Anus on 18th November 2013
sorry sorry..
chart is coming , only keys are not coming
Posted by RGraph support on 18th November 2013
Hi there,

Then check your console for an error message. Ensure you have included the key library.


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:
   www.rgraph.net/license#one-developer
Posted by Anus on 19th November 2013
thank you so much it worked..

can i get scroll bar in chart??
Posted by RGraph support on 19th November 2013
Hi there,

Like this:

www.rgraph.net/docs/howto-custom-static-y-axis.html ?

It's not "native" to RGraph but only requires a little extra HTML and scripting.



Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
    www.rgraph.net/license#single-site

Add a reply

 




« Back to message list
RGraph on social media