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 - Animations autoplay at first draw
Summary: Animations autoplay at first draw
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Other Components (show other bugs)
Version: 140220
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-13 09:49 EST by yeray alonso
Modified: 2015-05-21 05:47 EDT (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments
Simple test for AutoPlay (2.39 KB, application/x-zip-compressed)
2015-05-21 05:47 EDT, david berneda
Details

Note You need to log in before you can comment on or make changes to this bug.
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