Hi,
I have a chart with a few fastline series on it. During runtime I display them on either the same axis or on different horizontal strips on top of each other using custom axis. To adujust the margins on labels for custom axis I have used the GetAxisLabel event of the chart.
But when I add custom axis and associate it with the chart it doesn't redraw itself. I have to either zoom or pan and then it promptly redraws itself. But I want it to redraw and show me the axis as soon as the new axis applied. Could you please help me out?
Regards,
Gaurav
Not Redrawing after adding custom axis
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gaurav,
You could try using a Bitmap call to force the chart being internally repainted, for example:
This should be done after applying new custom axis.
If this doesn't help please send us a simple example project we can run "as-is" to reproduce the problem here. You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
You could try using a Bitmap call to force the chart being internally repainted, for example:
Code: Select all
Bitmap bmp = tChart1.Bitmap;
If this doesn't help please send us a simple example project we can run "as-is" to reproduce the problem here. You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
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 |