We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Display 4 Decimal place in y-axis

Thread ID:





71282 Jan 24,2008 12:35 PM UTC Jan 29,2008 01:39 PM UTC ASP.NET Web Forms (Classic) 1
Tags: Chart
henry Ho
Asked On January 24, 2008 12:35 PM UTC

I have a problem on displaying 4 decimal place in y-axis. But i just can display 2 decimal place. I am using the trial version of Essential Studio version 6.1.0.*.

How can i fix it?

the following are the part of code:
double maxValue1 = 1.227897;
double minValue1 = 0.9565675;

double avgerageb = (maxValue1 - minValue1) / 7;

this.ChartWebControl1.PrimaryYAxis.Range = new MinMaxInfo(minValue1, maxValue1, avgerageb);

this.ChartWebControl1.PrimaryYAxis.ForeColor = Color.FromArgb(185, 247, 179, 78);

this.ChartWebControl1.PrimaryYAxis.Title = "Basic Rate";

this.ChartWebControl1.PrimaryYAxis.EdgeLabelsDrawingMode = ChartAxisEdgeLabelsDrawingMode.Shift;

this.ChartWebControl1.PrimaryYAxis.Format = "0.0000";

Bhuvaneswari P [Syncfusion]
Replied On January 29, 2008 01:39 PM UTC

Hi Henry,

Thanks for evaluating Syncfusion products.

Display 4 Decimal place in y-axis

I am afraid that I was not able to reproduce the issue. When I set the this.ChartWebControl1.PrimaryYAxis.Format = "0.0000", it displays only 4 decimal places. I have tested this issue in version

Please download the sample from the below location:
Reply   |   Reply with quote

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon