Hi Kejpa,
TChart (v5 & .NET)
The Evaluation and Release versions of the TeeChart for .Net component
currently available from
www.steema.com will run in the VS2005 beta 1
with a small modification; when running a vb.net winform with an empty
chart dropped onto it you will receive the following error:
NullReferenceExceptioin was unhandled
This error is due to changes made to the handling of designtime
serialisation visibility in the VS2005 beta and can be remedied within
the Solution Explorer: click on the "Show All Files" button and open
the child node of the Form.vb file called called Form1.Designer.vb and
comment out the following line in the InitializeComponent() method:
Me.TChart1.Chart = CType(resources.GetObject("TChart1.Chart"),
Steema.TeeChart.Chart)
You will now be able to run the empty chart. To avoid similar issues in
the VS2005 beta I recommend that you add TeeChart objects to your Chart
at runtime rather than at designtime, e.g.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim Bar1 As New Steema.TeeChart.Styles.Bar(TChart1.Chart)
Bar1.FillSampleValues()
End Sub
These issues will be seamlessly solved in the upcoming TeeChart for
..NET version 2, a beta version of which will become available very
soon.
The currently available version of the TeeChart Pro ActiveX Control,
version 7, works without any issues whatsoever in the VS2005 beta 1.
Again, running a vb.net winform with an empty chart dropped onto it you
will give you no errors; adding objects to it either at designtime or
runtime does not present any problems, e.g.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
AxTChart1.AddSeries(TeeChart.ESeriesClass.scBar)
AxTChart1.Series(0).FillSampleValues(10)
End Sub
For further free TeeChart support please visit:
http://support.steema.com
Best Regards,
Christopher Ireland
Programmer
www.steema.com