ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Displaying Program Variables on a Chart
Posted by Richard Hamilton on May-10-2010 23:22
I looked through all of the threads and did not see this question, so I apologize if I overlooked it.  As powerful as ChartDir is... I'm guessing the below ability exists, but maybe I'm too stupid to know how.

I'd like to display a variable (using VB6) as text on the chart.  Example, by using "Call c.addText", I can easily show a fixed comment, but in my chart, I have a variable that is constantly changing each time the chart is drawn.  This variable is NOT in the array of plotted data.

Thus, often I need to plot variables as text on a chart, but I can't seem to figure out how that is done.  Can ChartDir recognize a variable in some way and display it as text?

Beautiful work on ChartDir.  You definitely earned the name of "Advanced Software Engineering" !

  Re: Displaying Program Variables on a Chart
Posted by Peter Kwan on May-11-2010 00:40
Hi Richard,

Assuming your variable is a number, I suppose you can just use addText to display it.

Call c.addText(100, 100, myVariable, "arialbd.ttf", 8, &H000000)

Hope this can help.

Regards
Peter Kwan