Page 1 of 1

Customization capabilities of the TeeChart Legend.

Posted: Tue Jan 06, 2009 11:01 pm
by 9787981
Hi NarcĂ­s (Happy New Year!)

I'm trying to understand the extent to which the Legend (specifically it's contents) is customizable. Is it possible to seperate out the marker and line, so that the marker is not drawn over the line? Currently when the marker overlays the line, it is difficult to see what kind of line style (dashed, dotted, solid, etc) is being used.

Also if you recall (probably not), we're having to use the line series GetPointerStyle event in order to paint the marker/lines in a color (our Data Quality color) that is not the color assigned to the series.Color property, keeping in mind that the Data Quality color can change from one sample to the next for any given series. What this means though is that the color of the line/marker in the legend does not match the color being assigned during the GetPointerStyle event handler. Is there a way to override the color of both the marker and line in the legend?

If you can think of any other customizations that are possible to satisfy the above requirements, I'd be glad if you could tell me about them, for example is it possible to specify a custom windows form as the legend and hook it into the TeeChart so that it can be used to represent the series marker, line and name in our required custom manner?

Regards,
Ben.

Posted: Wed Jan 07, 2009 11:35 am
by narcis
Hi Ben,

Thank you very much. Wish you a happy 2009 too!

We are not much sure about which are your exact problems. Could you please arrange and send us simple example project we can run "as-is" to reproduce them and be able to provide an accurate answer?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.