Page 1 of 1

Arrow Series drawing "feature"

Posted: Fri Dec 19, 2003 11:33 am
by 8440929
Hi

I have a single ArrowSeries on a chart which uses 3d arrows (so that each arrow has shape and not a line).

When I set the ArrowWidth and Height properties (in pixels) and scroll the chart then arrows are drawn in different widths and seem to disregard the absolute ArrowWidth / ArrowHeight pixel sizes.

Is there a solution to this problem ?

Many thanks

Toby

(Using TChart VCL 6.01 on Delphi 7, XP Pro)

Posted: Mon Dec 22, 2003 3:33 pm
by Marjan
Hi, Toby.

Are you sure ? I set arrow series ArrowWidth and ArrowHeight properties to specific value and when I performed a scroll/zoom operation, arrow series width/height remained the same (scaling did not change absolute screen size). But it's possible I've missed something and I cannot duplicate your example. So, if there is not too much trouble, can you send me small sample application which demonstrates this problem (sources only) ? You can send it to [email protected] email address. I'll try it on my machine.

Posted: Tue Jan 06, 2004 4:27 pm
by 8440929
Marjan, You have email :)

Posted: Thu Jan 08, 2004 4:06 pm
by Marjan
Hi, Dan.

I see it now <g>. The problem happens arrow height is changing as you're scrolling (vertically) chart or changing chart size. The problem occurs only when chart 3D view is set to true and when arrow width/height is sufficiently small. The problem is a rounding error in internal chart TCanvas3D.Arrow method. I'll log this to our bug list so it can be addressed for next major release.

Posted: Thu Jan 08, 2004 4:19 pm
by 8440929
Hi Marjan

Glad you found the problem so quickly.

Is there any idea of timescale involved before this might be released ?

If it is likely to be more then a few weeks is there a work around I can use ? (bear in mind I only have the 'dcu' version of the component and not the full sources)

Posted: Tue Jun 08, 2004 10:37 am
by 8440929
Can you confirm that this problem has been resolved in version 7.0 ?

Posted: Wed Jul 07, 2004 11:29 am
by 8440929
BTTT

Posted: Wed Jul 07, 2004 1:38 pm
by 8440929
I have just downloaded v7 trial version - it appears that this bug has not yet been fixed :(

Am I right in thinking that to resolve this issue I presume its now a case of upgrading the version to "with sources" and correcting the fault myself ?

Posted: Thu Jul 08, 2004 7:46 am
by Marjan
Hi, Toby.

I've tested it with TeeChart v7.01 (still beta) and it's working fine (I think). I posted sample application which demonstrates this in our steema.public.attachments newsgroup. Can you give it a try and let me know if it works ?