Page 1 of 1

Override legend drawing query

Posted: Tue Mar 21, 2006 3:43 pm
by 9341105
Hi i am trying to create a legend like the following image, is there anyway i can override the legend drawing and replace it.

Image

I have 40 numeric ranges that i use for my gradient, and when i use the legend to display this, it does not look great.

Image

Is this possible without actually drawing directly to canvas? If i have to draw to the canvas, how do i resize the chart like the legend does?

Thanks.

Posted: Fri Mar 31, 2006 9:01 am
by Pep
Hi,
Hi i am trying to create a legend like the following image, is there anyway i can override the legend drawing and replace it.
Is this possible without actually drawing directly to canvas?
If you're source code customer you can customize the legend as your own, if you're not source code customer , I'm afraid the only way will be to draw on the Canvas.
If i have to draw to the canvas, how do i resize the chart like the legend does?
You can resize the Chart using the Chart.Width and Chart.Height properties.