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

Message ListMessage List     Post MessagePost Message

  Can't get Legend to display (.NET)
Posted by Bert Sirkin on May-29-2012 20:36
Attachments:
I have a graph that displays a line graph superimposed on a bar chart. There are about 10 points on each graph layer.

I'm trying to put a legend on the graph that identifies the line graph. I've tried the following code:

c.addLegend(55, 40, False, "", 8).setBackground(Chart.CColor(System.Drawing.Color.Blue))

but it only puts a very small blue rectangle near the top-left of the graph.

What am I doing wrong?

thanks,
bert
x.jpg

  Re: Can't get Legend to display (.NET)
Posted by Bert Sirkin on May-29-2012 21:25
I finally figured it out - I had left the labels out of the "create" method!