Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart3D 3D Charting Tools for .Net (VB and C#)
 Custom Tooltip Font Size
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Jules

10 Posts

Posted - 24 Oct 2010 :  07:16:25  Show Profile  Reply with Quote
Hello,

How do I change the font size of a custom tooltip?


 private void ConfigureCustomTooltip()
        {
            // custom tooltip containing decision variable values
            CustomToolTip decisionVariableTooltip = new CustomToolTip(this);
            decisionVariableTooltip.SetDataToolTipFormat(ChartObj.DATA_TOOLTIP_CUSTOM);
            decisionVariableTooltip.SetEnable(true);
            chartView.SetCurrentMouseListener(decisionVariableTooltip);
        }


Thanks, Jules

quinncurtis

1531 Posts

Posted - 24 Oct 2010 :  12:23:16  Show Profile  Reply with Quote
Use the tooltip TextTemplate.TextFont property.

decisionVariableTooltip.TextTemplate.TextFont = new Font("Microsoft Sans Serif", 15, FontStyle.Bold);
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07