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

Event like "QueryCellFormattedText" in GridDataBoundGrid

Thread ID:





58185 Mar 20,2007 02:34 PM UTC Mar 21,2007 02:19 PM UTC WinForms 2
Tags: Chart
Martin Bonneville
Asked On March 20, 2007 02:34 PM UTC


I have a chart with a serie bound on a data source.

I need to do some operation on the Y value before the chart display it... the value is 0.0000001... I need to display 100 ( * 1000000000 ).

With the GridDataBoundGrid, I used the event "QueryCellFormattedText" and "SaveCellFormattedText".

What I need to do with the chart ?

Best regards,


Ramya R [Syncfusion]
Replied On March 21, 2007 05:10 AM UTC

Hi Martin,

Thank You for your interest in Syncfusion Products.

If your intention is to display Y- Axis value in a 100 ( * 1000000000 ) format then it can be done by using the ChartFormatAxisLabel event as shown in the code snippet below,

private void chartControl1_ChartFormatAxisLabel(object sender, Syncfusion.Windows.Forms.Chart.ChartFormatAxisLabelEventArgs e)
if(e.AxisOrientation==ChartOrientation.Vertical && e.IsAxisPrimary==true)
//Here e.Value.ToString contains the YValue of the SeriesPoint given while adding points to series. For example if a points are added to series as series.Points.Add(1,2) then the "2 " here is the e.Value. Any other string can also be given.
e.Label=e.Value.ToString()+"(* 1000000000)";
e.Handled = true;


Let me know whether this helps you.

Thanks & Regards,

Martin Bonneville
Replied On March 21, 2007 02:19 PM UTC


Thanks for the help.

I modified one line...

e.Label= ( e.Value * 1000000000).ToString();

This do the job :-)

Best regards,



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

or the page will be automatically redirected to 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