You might try experimenting with the 'Value Pairs' tab of the graph properties.
This will allow you to position a text string along any axis. Spaces behind
the text will help move it away from the axis, too. You could programatically
control these value pairs with something like
CWGraph1.Axes(2).ValuePairs(1).Name = "text string"
Unfortunately, I don't see any way to change the Name string font, size,
color, include any graphic symbols, or make it look like an MSChart legend.
Dave
"Lee Robinson" wrote:
>I have a graph I am doing with 4 plots in different colors. I would>like
to put a legend on the graph indicating which axis is associated>with which
plot. It would also be nice of the legend printed when I>printed the graph.
I can'
t find any properties or methods in CWGraph>or its objects that will
let me put a legend on the graph.>>I thought of creating an image for the
plot area but it seemed an>awful lot like a kludge to do that.>>Anyone know
how to create legends for CWGraph?>>Lee Robinson>Agility, Inc.>