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.
Unfortunately, activation email could not send to your email. Please try again.

Display 4 Decimal place in y-axis

Thread ID:

Created:

Updated:

Platform:

Replies:

71282 Jan 24,2008 07:35 AM Jan 29,2008 08:39 AM ASP.NET Web Forms (Classic) 1
loading
Tags: Chart
henry Ho
Asked On January 24, 2008 07:35 AM

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 08:39 AM

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 6.1.0.34.

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

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.

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.

;