Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 QCChart3D 3D Charting Tools for .Net (VB and C#)
 Custom Tooltip Font Size

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Jules Posted - 24 Oct 2010 : 07:16:25
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
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 24 Oct 2010 : 12:23:16
Use the tooltip TextTemplate.TextFont property.

decisionVariableTooltip.TextTemplate.TextFont = new Font("Microsoft Sans Serif", 15, FontStyle.Bold);

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07