Hi Yeray,
I am using colorgrid(Teechart activeX control 2013 in Vs with C#) on a window form. After I finish my first image,I try to paint my second image on the same window form.The size of the second image is different to the first,so I change the size of window form and colorgrid before I draw.On colorgrid I draw line and rectangle on canvas.But the second image still keeps the size of the first and pictures drawn on canvas stayed on their original position when I save them as JPG,but images can be shown on screen rightly.It seems that after I change the size of colorgrid, images shown on screen are different with the saved images as JPG.
I tried to every:
Teechart1.ClearChart();
Teechart1.Environment.InternetRepaint();
Teechart1.Repaint();
Teechart1.Refresh()
But they cannot solve my problem.So I must close the window and restart the window form if I change images.
Thanks,
Robinson
How to reset chart?
Re: How to reset chart?
Hello Robinson,
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Please, read the "How to post in this forum" instructions below, in my signature.
Thanks in advance.
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Please, read the "How to post in this forum" instructions below, in my signature.
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How to reset chart?
Hi Yeray,
I give you a simple example.You click button1 first,then click button2,and click button1 again,you will find d:\test.jpg is different with the image on the screen.
Thanks,
Robinson
I give you a simple example.You click button1 first,then click button2,and click button1 again,you will find d:\test.jpg is different with the image on the screen.
Thanks,
Robinson
- Attachments
-
- question.rar
- (338.26 KiB) Downloaded 1233 times
Re: How to reset chart?
Hello Robinson,
I could reproduce the problem thanks to your example project so I've opened a ticket with the same:
http://bugs.teechart.net/show_bug.cgi?id=734
Feel free to add your mail to the CC list to be automatically notified when an update arrives.
I could reproduce the problem thanks to your example project so I've opened a ticket with the same:
http://bugs.teechart.net/show_bug.cgi?id=734
Feel free to add your mail to the CC list to be automatically notified when an update arrives.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |