Page 1 of 1

2 remarks on TC

Posted: Thu Jun 19, 2008 2:08 pm
by 15046294
Hello,

1. Many items within Teechart hava a color propertie. The color can be changed via a pallette toolbox. I noticed that it is possible that once the pallette toolbox is opened many more of them can be openend just by clicking the original button.

2. We often want to point the user to a specific point on a chart (like an outlayer) via a annotation (rectangle + callout). The callout is pointed to the specific point and accompanied by text. The callout position is the problem. It can only be set via pixels. If the chart is scaled the callout points to something completly different. It would be nice if the callout point would be fixed to a x, y position.

TC V8.003

Hope you can do something with this input.

Greetings,

Jack

Posted: Thu Jun 19, 2008 2:28 pm
by narcis
Hi Jack,

Please find below the answers to your questions:

1. I've been able to reproduce this (TA05013147) and added it to the defect list to be fixed for next releases.

2. This is because you need to set objects to relative positions in the chart. For example: relative to a series point, an axis, legend, etc. And you should also update object's postion every time the chart is repainted: after resizing it, after zooming, after scrolling, etc. For that we recommend to implement objects positioning code in a method called in the OnAfterDraw event and OnZoom, OnUndoZoom, OnScroll, ... events. Here you'll find an example.

Posted: Fri Jun 20, 2008 3:15 pm
by 15046294
2. I'm aware of this. What i meant is that the rectangle can be positioned on pixel or percentage but not the callout. This one can only be set per pixel.


Greetings,

Jack

Posted: Fri Jun 20, 2008 3:19 pm
by narcis
Hi Jack,

Thanks for the information. I've added your request to our wish-list to be considered for inclusion in future releases.