Customization capabilities of the TeeChart Legend.
Posted: Tue Jan 06, 2009 11:01 pm
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.
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.