Hello,
we are using TChart 3.2.2868-26903 and the VS 2005. We created a new project, in this we added a new TChart with one barserie. Everything is ok. Then we want to change the color of the bar. We use the property dialog of the designer (Series -> Format -> Format -> Button "Color") to change the color. Everything is still ok. After we rebuild the project and want to reopening the designer again, we get the error:
"Object reference not set to an instance of an object"
The VS shows us the following line in the code:
this.bar1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
Is there any solution to fix this error? We are not able to open the designer anymore until we will delete this line. But then we ar not bale to chnage the color.
Thanks in advance
Regards
Marco
Change color of bars with V3 and VS2005
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Re: Change color of bars with V3 and VS2005
Hello Marco,
We have been able to fix this problem and a fix to it will be included in the next maintenance release, due out in the first week of December. Until that time my best suggestion is that you delete this line from *.designer.cs and specify the desired colour at runtime. You will notice that binary serialization (*.ten files) is not affected.
Sorry for any inconvenience caused.
Thank you for reporting this issue to us.Marco wrote: Is there any solution to fix this error? We are not able to open the designer anymore until we will delete this line. But then we ar not bale to chnage the
We have been able to fix this problem and a fix to it will be included in the next maintenance release, due out in the first week of December. Until that time my best suggestion is that you delete this line from *.designer.cs and specify the desired colour at runtime. You will notice that binary serialization (*.ten files) is not affected.
Sorry for any inconvenience caused.
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/