Scalpel Report post Posted April 30, 2009 Hi, I'm using a "Combo Stacked Column 3D - Line DY" graph to display stacked financial data. The line from the right Y-axis is going to display target/budget. I've got data displaying, but the two Y axes use different resolutions. How can I force the right Y-axis to use the same resolution as the left Y-axis? Alternatively, can I drop the second Y-axis completely, but tell the Chart to draw one of the datasets as a line instead of being stacked on top of the bars? Frode Share this post Link to post Share on other sites
Mangalores Report post Posted April 30, 2009 (edited) If I remember correctly this chart xml looks like: dataset dataset dataset dataset resulting into a stacked column By writing this I got two columns side by side in this swf: dataset dataset dataset dataset dataset And line charts work with "lineset" You can also control which axis a graph uses by setting some yAxis parameter to P or S (primary or secondary) Edited April 30, 2009 by Guest Share this post Link to post Share on other sites
Scalpel Report post Posted April 30, 2009 Hello, I'm not sure if I understand your answer. Take a look at the attachment. The problem is that the line, which uses the Secondary axis, is displayed with another axis resolution than the primary axis. I want the line to be shown like the one I've drawn on the image. The line is a line which marks the budget target for each salesman, and the three stacked columns should reach the line when the salesman has reach his planned budget. Frode Share this post Link to post Share on other sites
Tiggs Report post Posted May 1, 2009 I have exactly the same problem. The issue is that I need to render a 3D stacked column and a line on the same chart. Ideally, I'd like to use the same Y Axis, but there's no chart that renders a stacked column and a line on a single Y axis. As such - StackedColumn3DLineDY.swf and MSStackedColumn2DLineDY.swf appear to be my only options. They both have Dual Y axis & I can't work out how to sync them, either. Share this post Link to post Share on other sites
Dhruva Report post Posted May 4, 2009 Hello all, I suggest you set the maximum and minimum limits ot the two manually to the same values, using the PYAxisMaxValue, PYAxisMinValue, SYAxisMaxValue SYAxisMinValue attributes in the chart element. Please take care to ensure that the data points to be plotted lie within the range you set manually. I hope this helps. Share this post Link to post Share on other sites
Tiggs Report post Posted May 5, 2009 Thanks Dhruva, that's worked for me. Scalpel - fyi - setting showSecondaryLimits='0' and showDivLineSecondaryValue='0' will remove the second axis display. Tiggs Share this post Link to post Share on other sites
Dhruva Report post Posted May 5, 2009 You're welcome! Share this post Link to post Share on other sites
Brambilla Report post Posted May 21, 2009 This solution aparently doen't work with negative values. I'm still after a solution for this problem for both positive and negative values. Share this post Link to post Share on other sites
saptarshi Report post Posted May 22, 2009 Hello, Stacked charts are intrinsically meant to handle positive data. Hence, their behavior in case of negative values may some times be unpredictable. Share this post Link to post Share on other sites