Support,
Much like my question about smoothly animating a series, how can I smoothly fade in an entire chart from invisibility using the TFaderTool tool, without seeing the chart initially?
I set the Chart's Visible property to False and when I want to fade in the chart, I set the visible property to True and execute the fader, but the effect is not great, as the chart initially flashes when setting Visible to True, it then disappears and only then does the chart fade in. I have set the TFaderTool.InitialDelay to 0, but I still get the initial flash.
Any ideas on how to smoothly fade in the chart?
Regards,
Keith
Using TFaderTool to bring a chart into view
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Keith,
You can do as in the example at What's New?\Welcome!\New Chart Tools\Fader at the features demo. There you can edit the Fader tool and select the color you want to fade in from. You could use the same color as the color of your form.
You'll find the features demo at TeeChart's program group.
You can do as in the example at What's New?\Welcome!\New Chart Tools\Fader at the features demo. There you can edit the Fader tool and select the color you want to fade in from. You could use the same color as the color of your form.
You'll find the features demo at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Narcis,
Thank you, but I'm afraid your demo exhibits the same 'flashing' behaviour I am trying to overcome. I already tried all your suggestions and a few others, but it does not help.
Just before the chart is faded in, you can see the 'normal' chart (for just a few milliseconds, but enough to detract from the smooth fade-in effect). I want to avoid this initial, 'normal', unfaded chart being displayed.
Regards,
Keith
Thank you, but I'm afraid your demo exhibits the same 'flashing' behaviour I am trying to overcome. I already tried all your suggestions and a few others, but it does not help.
Just before the chart is faded in, you can see the 'normal' chart (for just a few milliseconds, but enough to detract from the smooth fade-in effect). I want to avoid this initial, 'normal', unfaded chart being displayed.
Regards,
Keith