atlasovich Report post Posted November 2, 2009 Hi there, Is it possible to have zero values aligned in a dual Y axis graph (MSCombiDY2D) even if the primary axis has negative values and the secondary has not? Thanks, Fabian Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 2, 2009 Hello, You can align the zero values of both secondary and primary y-axis by setting equal SYAxisMaxValue and PYAxisMaxValue, and equal SYAxisMinValue and PYAxisMinValue. Please refer to the attached XML together with the screen-shot of the chart. Hope this helps. data.xml Share this post Link to post Share on other sites
atlasovich Report post Posted November 3, 2009 Thanks for your answer. The problem is that one axis is in Million dollars and the secondary is GP% (0-100%). Any other idea? Thanks, Fabian Share this post Link to post Share on other sites
Guest Madhumita Report post Posted November 3, 2009 Hello, You will get the zero-values to align by the mentioned method. However, the fixing of the max and min values to the same of the two axes to be equal will not look visually pleasing. e.g. If primary axis max value is 6 million and this is equated with that of the secondary axis , then the limit of secondary axis will assume a 6million% value. Could you please attach the XML you are working on so that we may try to implement it? Awaiting your reply. Share this post Link to post Share on other sites
mridulkansal Report post Posted December 22, 2009 Hello, I am not able to get the zeros to align in the two Y axes even after specifying same min and max values for both PYAxis & SYAxis. The xml is attached. Using MSStackedColumn2DLineDY chart, FusionCharts ver 3.1 Thanks, Mridul chart.xml Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 22, 2009 Hello, The MSStackedColumn2DLineDY chart does not support the PYAxisMinValue attribute. Please set PYAxisMaxValue="10" SYAxisMaxValue="10" SYAxisMinValue="-16" in the <chart> element and the zero plane will be aligned. I am attaching your XML, where I have made this change for your reference. Hope this helps. data.xml Share this post Link to post Share on other sites
mridulkansal Report post Posted December 23, 2009 Thanks! The dataset values are generated dynamically. What you are suggesting would amount to finding out the minimum for the PYAxis through a pre-parse (and stacking calculations) of the dataset that itself is based on some complex structures. This should ideally be done by the chart, isn't it? Regards, Mridul Share this post Link to post Share on other sites
Guest Madhumita Report post Posted December 23, 2009 Hello Mridul, As of now, you have to manually set the limits of the two axes to align them. Your suggestions are very important to us. We have made a note of the same. Share this post Link to post Share on other sites