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

How to customize the chart series tooltips?

Platform: WinForms |
Control: Chart |
Published Date: April 30, 2011 |
Last Revised Date: July 10, 2014

 

We can customize the series tooltips by setting borders, shapes, symbols and colors using FancyTooltip in ChartFancyToolTip class.

C#

series1.FancyToolTip.Symbol = (Syncfusion.Windows.Forms.Chart.ChartSymbolShape)Enum.Parse(typeof(Syncfusion.Windows.Forms.Chart.ChartSymbolShape), this.comboBox2.SelectedItem.ToString(), true);series1.FancyToolTip.Style = (Syncfusion.Windows.Forms.Chart.MarkerStyle)Enum.Parse(typeof(Syncfusion.Windows.Forms.Chart.MarkerStyle), this.comboBox1.SelectedItem.ToString(), true);

series2.FancyToolTip.Border.Width = width;

series1.FancyToolTip.ForeColor = this.FontColorPicker.SelectedColor;

series1.FancyToolTip.Border.ForeColor = this.BorderColorPicker.SelectedColor;

VB

series1.FancyToolTip.Symbol = CType(System.Enum.Parse(GetType(Syncfusion.Windows.Forms.Chart.ChartSymbolShape), Me.ComboBox5.SelectedItem.ToString(), True), Syncfusion.Windows.Forms.Chart.ChartSymbolShape)

series1.FancyToolTip.Style = CType(System.Enum.Parse(GetType(Syncfusion.Windows.Forms.Chart.MarkerStyle), Me.ComboBox4.SelectedItem.ToString(), True), Syncfusion.Windows.Forms.Chart.MarkerStyle)

series1.FancyToolTip.ForeColor = Me.FontColorPicker.SelectedColor

series1.FancyToolTip.Border.ForeColor = Me.BorderColorPicker.SelectedColor

series1.FancyToolTip.Border.Width = Int32.Parse(Me.comboWidth.SelectedItem.ToString())

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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