Axis Label Tooltip Formatting

Hello,

I'm using the WinForms Chart control, and I have a requirement to change the font type, size and color of the y-axis label's tooltip. How can this be done? Suggestions welcome.

Thanks.

3 Replies 1 reply marked as answer

SJ Suyamburaja Jayakumar Syncfusion Team July 6, 2020 07:43 AM UTC

Hi Stoked, 
 
Greetings from Syncfusion. 
 
We would like to let you know that your requirement has been achieved by the below code snippet, 
 
C#: 
            this.chartControl1.ShowToolTips = true; 
            this.chartControl1.Tooltip.Font = new Font(this.Font, FontStyle.Bold); 
            this.chartControl1.Tooltip.BackgroundColor = new BrushInfo(Color.AliceBlue); 
            this.chartControl1.Tooltip.Font = new System.Drawing.Font("Arial", 30); 
 
More information please refer the below UG link 
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Suyamburaja J. 


Marked as answer

ST Stoked July 6, 2020 12:22 PM UTC

Thanks. This solved the issue. I was looking at the properties of the PrimaryXAxis and PrimaryYAxis and never thought to look at the chart as a whole.


HM Hemalatha Marikumar Syncfusion Team July 7, 2020 07:27 AM UTC

Hi Stoked, 
 
Thanks for your update.  
 
We are glad to hear that given solution works.  
 
Regards,
Hemalatha M. 


Loader.
Up arrow icon