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.

fancytooltip

Thread ID:

Created:

Updated:

Platform:

Replies:

62283 Jun 12,2007 08:59 AM Sep 17,2007 04:38 PM Windows Forms 6
loading
Tags: Chart
Kamen Yotov
Asked On June 12, 2007 08:59 AM

chart series can have these fancy tooltips that show the data at given points on the curve as you move the mouse. i am trying to figure out how to format the text that shows in the tooltip... could not find it in the docs, and could not figure it out from the source (after 15 minutes of looking around). please give me a pointer...

Rashidha F [Syncfusion]
Replied On June 13, 2007 02:41 AM

Hi Kamen,

Thanks for using syncfusion products.

Thanks for suggesting this valuable feature of "Add Fancytooltip format support in chart Control" to enhance our product. We have logged it as a feature request and notified our development team. We will implement this feature in our forthcoming new version releases or service pack releases. We usually have a timeframe of at least three months between releases. The feature implementation would also greatly depend on the factors like product design, code compatibility and complexity. We will get back to you once the feature is implemented.

Thank you for your patience.

Regards,
Rashidha.

Kamen Yotov
Replied On June 13, 2007 10:49 AM

i did not suggest a new feature. it is already there. i just can't figure out how to make it work the way i want... can you please look into it?

Rashidha F [Syncfusion]
Replied On June 14, 2007 03:53 AM

Hi Kamen,

By default Fancytooltip displayed series name and chart point as a tooltip.

For more details please refer the following method in your source project.

private string GetTextForToolTip( ChartSeries series, ChartPoint pt )--[Chart.Base\ToolBar\ChartFancyToolTipController.cs.]

Please have a look at the attached sample.

http://websamples.syncfusion.com/samples/Chart.Windows/F62283/main.htm

The above sample displayed Seriesname and chartpoint values as a Fancytooltip.

Please let me know if you have any more queries.

Regards,
Rashidha.

Kamen Yotov
Replied On June 14, 2007 01:35 PM

the example you sent, facny tooltip is not affected by the change of format.

i really want to use fancy tooltip, as oppsed to the regular one. it is more responsive, etc.

i just need a way to change its format... something along the lines of how you change format of the regular tooltip.

is this possible?

Rashidha F [Syncfusion]
Replied On June 15, 2007 07:51 AM

Hi Kamen,

Sorry for the inconvenience caused.

I am afraid that this feature is not currently supported by our chart. We have already logged a feature request in this regards. We will let you know once it is implemented.

Thanks for your patience.

Regards,
Rashidha.

Kamen Yotov
Replied On September 17, 2007 04:38 PM

Actually, it seems that your product supports the functionality, but it is not exposed to the end user. I used some reflection which allowed me to access it (although it is not exposed). I am posting it here for the benefit of others who might be looking for it...

FieldInfo fi = chart.GetType().GetField("chartFancyToolTipControl",
BindingFlags.Instance | BindingFlags.NonPublic);
cfttctrl = (ChartFancyToolTipController)fi.GetValue(chart);
cfttctrl.TextFormat += new ChartTextFormatEventHendler(c_TextFormat);
}

void c_TextFormat(object sender, ChartTextFormatEventArgs e)
{
e.Text = string.Format("{0:dd MMM yyyy}\n{1:0.000}", e.Point.DateX, e.Point.YValues[0]);
}

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.

;