Dynamic ChartPane Names?
Author: gpetrie
Creation Date: 7/5/2011 7:48 PM
profile picture

gpetrie

#1
Hi,

Is there a way to create and manipulate ChartPane names dynamically. For example, use a string something like "spy" + "Pane" for a name or set a variable that contains a symbol for a name. Then it would be nice to use a AnnotateChart referring to this name. Is it possible?

Thanks,

Gene Petrie
profile picture

Cone

#2
When you create a ChartPane, you have a variable reference to its ChartPane object. Example:

CODE:
Please log in to see this code.


Now you pass the variable myCP to any function that you use to add something to that ChartPane, like AnnotateChart. If this isn't what you're asking for, then you need to spoon feed me with a good example.
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).