mahmud-hasan / ofcgwt

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

scaling of right Y axis #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. try to use following code (modification of code from your demo):
{"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"}}]}

What is the expected output? What do you see instead?
On right side should be correct Y axes and also values should be correctly
scaled.
Problem is, that markers in right Y axis are owerwritten multiple times and
also values in chart are not related to right axis, but left 

What version of the product are you using? On what operating system?
latest version

Original issue reported on code.google.com by vze...@qualityunit.com on 21 Oct 2009 at 12:11

GoogleCodeExporter commented 9 years ago
Please help me on this issue

Original comment by chidambar.181@gmail.com on 22 Dec 2010 at 2:10