User (Legacy) Posted February 17, 2004 Report Share Posted February 17, 2004 Hi, I am having duplication issues with y axis label when I don't set the step size. If I set the step size to 1 then everything works fine, but for dynamic scaling i, e step=0 , the y axis labels get repeated if height is proportionally more than max y axis value. Any idea what am I missing. Thanks --Rahul Link to comment Share on other sites More sharing options...
Software FX Posted February 18, 2004 Report Share Posted February 18, 2004 I think you may be having a problem with the precision of your Y-Axis. If you are using ZERO decimals, make sure your Min and Max are integers, otherwise what you see as repeated labels may be actually different numbers that round to the same value when converted to the axis format. If this is not the case, please attach a chart binary file that reproduces the problem. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 19, 2004 Author Report Share Posted February 19, 2004 Hi , I have attached the chanrt image and property xml I am using to generate chart. Thanks --Rahul "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:xfHErZn9DHA.2804@webserver3.softwarefx.com... > I think you may be having a problem with the precision of your Y-Axis. > > If you are using ZERO decimals, make sure your Min and Max are integers, > otherwise what you see as repeated labels may be actually different numbers > that round to the same value when converted to the axis format. > > If this is not the case, please attach a chart binary file that reproduces > the problem. > > -- > FP > Software FX > > Source.txt Source.txt Link to comment Share on other sites More sharing options...
Software FX Posted February 20, 2004 Report Share Posted February 20, 2004 Can you please attach a BINARY file instead. The XML file contains no data / scaling information so it is not enough for me to tell what's wrong. -- FP Software FX Attachments.zip Attachments.zip Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 20, 2004 Author Report Share Posted February 20, 2004 Please find binary file attached. "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:1$zPOw89DHA.196@webserver3.softwarefx.com... > Can you please attach a BINARY file instead. The XML file contains no data / > scaling information so it is not enough for me to tell what's wrong. > > -- > FP > Software FX > > Link to comment Share on other sites More sharing options...
Software FX Posted February 20, 2004 Report Share Posted February 20, 2004 Ok. Simply add the following code: chart.AxisY.LabelsFormat.Decimals = 0; That will fix it. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.