Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1138

Summary: Animations autoplay at first draw
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: Other ComponentsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david
Priority: ---    
Version: 140220   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15439
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Simple test for AutoPlay

Description yeray alonso 2015-02-13 09:49:14 EST
There could be a property telling the chart to autoplay the animation when it is drawing for the first time, meaning the first draw would already be done by the animation (no flickering at all).
Comment 1 david berneda 2015-05-13 11:41:07 EDT
I'd need an example to see the flicker, is it easy to reproduce?
Comment 2 david berneda 2015-05-21 05:45:31 EDT
Added a new property AutoPlay (Boolean, default False) to Chart animations.

When True, the animation plays automatically the first time the chart is displayed, and only once.

ChartAnimation1.AutoPlay :=True;

The animation can still be played again as many times as desired, calling the Play method:

ChartAnimation1.Play;


The AutoPlay property has been also added to the animations editor dialog, a new checkbox that should be mostly used at design-time to indicate which animations should be automatically played at runtime.
Comment 3 david berneda 2015-05-21 05:47:16 EDT
Created attachment 450 [details]
Simple test for AutoPlay