Articles in this section
Category / Section

How to customize the chart series tooltips?

1 min read

 

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())

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied