
ofcgwt - issue #65
Axis attribute in the buildJSON Method is not defined in Element Abstract Class
- try to use following code (modification of code from your demo): In the following code, for the second ELEMENT, he has given "axis": "right" But that's not working, since it is not in the buildJSON method. Please implement it! In the OFC-2 documentation, it is declared using method "attach_to_y_right_axis()" (http://teethgrinder.co.uk/open-flash-chart/gallery-y-axis-4.php)
{"x_axis":{"colour":"#909090", "3d":8, "labels":{"labels":["J","F","M","A","M","J","J","A","S","O","N","D"]}}, "y_axis":{"steps":16, "max":160, "min":0}, "y_axis_right":{"grid-colour":"#000000","steps":16, "max":1600, "min":0}, "y_legend":{"text":"$M in Sales", "style":"font-size: 11px;"}, "y2_legend":{"text":"$B in Sales", "style":"font-size: 11px;"}, "x_legend":{"text":"2008/9 Financial Year", "style":"font-size: 11px;"}, "bg_colour":"#ffffff", "elements":[{"type":"bar_3d", "values":[55,91,56,1167,57,50,86,58,58,65,94,98], "on-show":{"type":""}, "barwidth":0.5, "colour":"#ff8800"},{"type":"line", "values":[6,2,3,90,2,8,0,7,100,3,7,7], "on-show":{"type":""}, "text":"Global Avg", "colour":"#000000", "axis":"right", "dot-style":{"type":"solid-dot"}}]}
Comment #1
Posted on Dec 22, 2010 by Massive GiraffePlease change the priority to HIGH
Comment #2
Posted on Dec 23, 2010 by Massive GiraffeHow to assign one of the many data lines to the RIGHT Y-AXIS in JSON....
Comment #3
Posted on Dec 25, 2010 by Massive GiraffePlease tell me the exact "Name -value" pair for assiging a data line to Y-Right axis
Status: New
Labels:
Type-Defect
Priority-Medium