Making AnnotateChart use same Font as DrawLabel
Author: Ray60
Creation Date: 3/12/2010 3:08 PM
profile picture

Ray60

#1
Eugene/Robert,

I have been using the AnnotateChart command to write on the chart at the last bar with the text Right Justified as follows:

CODE:
Please log in to see this code.


The "DrawLabel" command uses the “Axis & Margins” Font settings that are set in the “Preferences- Chart Colors and Styles” window.

Is there any way to make the "AnnotateChart" command use the same font settings as the DrawLabel command?

Thanks.

profile picture

Eugene

#2
Talking about making the DrawLabel command act like AnnotateChart - none than I'm aware of...
profile picture

Ray60

#3
Eugene,

What I am looking for is how do you get the command:

CODE:
Please log in to see this code.


to automatically read the Fonts that the DrawLabel command uses.

Thanks.
profile picture

Eugene

#4
One workaround that comes to mind is to parse the WealthLabConfig.txt file and find out the ChartFont string e.g.:
QUOTE:
ChartFont=Tahoma|7|Regular
profile picture

Eugene

#5
There you are. Using some undocumented calls:
CODE:
Please log in to see this code.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).