gslender / ofcgwt

Automatically exported from code.google.com/p/ofcgwt
0 stars 0 forks source link

How to Attach a data item (BAR/Line) to the RIGHT Y-AXIS (in JSON format) #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How to implement attach_to_y_right_axis() method of OFC in 
JSON FORMAT

Original issue reported on code.google.com by chidambar.181@gmail.com on 23 Dec 2010 at 7:20

GoogleCodeExporter commented 9 years ago
Hey guy..
you can simply use line.setRightAxis(true) to attach a line to y_right_axis , 
if that's what you're trying to do...

Original comment by silun...@gmail.com on 24 Dec 2010 at 3:20

GoogleCodeExporter commented 9 years ago
But can you please tell me the attribute in JSON format

Original comment by chidambar.181@gmail.com on 25 Dec 2010 at 6:40

GoogleCodeExporter commented 9 years ago
JSON format Y-RightAxis are like :

==========================================================================
    "y_axis_right":{"steps":1,"max":2,"min",0},
    "elements":[{"type":"some-type","values":[value1,value2,.....valueN],"axis":"right"}]
==========================================================================

Original comment by silun...@gmail.com on 25 Dec 2010 at 2:11

GoogleCodeExporter commented 9 years ago
But it's not working !

Original comment by chidambar.181@gmail.com on 26 Dec 2010 at 5:45

GoogleCodeExporter commented 9 years ago
put up your whole json data out for more help....
BTW: I am new to ofcgwt either....

Original comment by silun...@gmail.com on 26 Dec 2010 at 12:26

GoogleCodeExporter commented 9 years ago
@silunchn : can you please tell me which version of OFC has these methods 
attach_to_y_right_axis() or setRightAxis() ?
I'm desperate for any pointers...Pleaee help!

Original comment by anamikas...@gmail.com on 22 Mar 2011 at 6:03