TChartDataSet Problem
Posted: Thu Jan 28, 2010 8:44 am
Hello. I have Borland 2009 with TeeChart Pro 8.06 and QuantumGrid. I'm using Tchartdataset to display information from TChart to cxGrid.
First I add new Tseries to Chart and then, I active tchartdataset and I get an acces violation error in rtl120.bpl.
[4223C2FC]{Tee812.bpl } Teengine.TCustomAxisPanel.SeriesCount + $0
[4240AC2F]{TeeDB812.bpl} Teedata.TChartDataSet.InternalInitFieldDefs + $13
[50494377]{dbrtl120.bpl} DB.TDataSet.OpenCursor (Line 10637, "DB.pas" + 2) + $4
[50494565]{dbrtl120.bpl} DB.TDataSet.InitFieldDefs (Line 10708, "DB.pas" + 5) + $7
[50483AB3]{dbrtl120.bpl} DB.TDefCollection.UpdateDefs (Line 3239, "DB.pas" + 6) + $3
[504846F0]{dbrtl120.bpl} DB.TFieldDefs.Update (Line 3605, "DB.pas" + 1) + $A
[224468BF]{dcldb120.bpl} DSDesign.TFieldsEditor.DoAddFields (Line 823, "DSDesign.pas" + 5) + $C
[22446849]{dcldb120.bpl} DSDesign.TFieldsEditor.AddFields (Line 808, "DSDesign.pas" + 1) + $2
...
On the other hand, if I first connect the dataset and then add a new Serie, I get the same error.
[50006C34]{rtl120.bpl } System.TObject.Free (Line 9829, "System.pas" + 1) + $4
[501C565A]{vcl120.bpl } Controls.TControl.WndProc (Line 6642, "Controls.pas" + 91) + $6
[5000CD59]{rtl120.bpl } System.TInterfacedObject._AddRef (Line 21759, "System.pas" + 1) + $3
[5000CC9D]{rtl120.bpl } System.@IntfCopy (Line 21653, "System.pas" + 6) + $0
[514AD6BE]{vcldesigner120.bpl} VCLSurface.TVclDesignSurface.GetSelectionMessages (Line 4373, "VCLSurface.pas" + 3) + $5
[50048010]{rtl120.bpl } Classes.TThreadList.UnlockList (Line 3751, "Classes.pas" + 0) + $4
[50048347]{rtl120.bpl } Classes.TInterfaceList.GetCount (Line 3862, "Classes.pas" + 5) + $6
...
I tried with an empty project and just one TDataSet and TChart and gives the same error.
There is any way to fix it? there is any way to manually connect TSeries XValues and Y Values to a generic TClientDataset?
First I add new Tseries to Chart and then, I active tchartdataset and I get an acces violation error in rtl120.bpl.
[4223C2FC]{Tee812.bpl } Teengine.TCustomAxisPanel.SeriesCount + $0
[4240AC2F]{TeeDB812.bpl} Teedata.TChartDataSet.InternalInitFieldDefs + $13
[50494377]{dbrtl120.bpl} DB.TDataSet.OpenCursor (Line 10637, "DB.pas" + 2) + $4
[50494565]{dbrtl120.bpl} DB.TDataSet.InitFieldDefs (Line 10708, "DB.pas" + 5) + $7
[50483AB3]{dbrtl120.bpl} DB.TDefCollection.UpdateDefs (Line 3239, "DB.pas" + 6) + $3
[504846F0]{dbrtl120.bpl} DB.TFieldDefs.Update (Line 3605, "DB.pas" + 1) + $A
[224468BF]{dcldb120.bpl} DSDesign.TFieldsEditor.DoAddFields (Line 823, "DSDesign.pas" + 5) + $C
[22446849]{dcldb120.bpl} DSDesign.TFieldsEditor.AddFields (Line 808, "DSDesign.pas" + 1) + $2
...
On the other hand, if I first connect the dataset and then add a new Serie, I get the same error.
[50006C34]{rtl120.bpl } System.TObject.Free (Line 9829, "System.pas" + 1) + $4
[501C565A]{vcl120.bpl } Controls.TControl.WndProc (Line 6642, "Controls.pas" + 91) + $6
[5000CD59]{rtl120.bpl } System.TInterfacedObject._AddRef (Line 21759, "System.pas" + 1) + $3
[5000CC9D]{rtl120.bpl } System.@IntfCopy (Line 21653, "System.pas" + 6) + $0
[514AD6BE]{vcldesigner120.bpl} VCLSurface.TVclDesignSurface.GetSelectionMessages (Line 4373, "VCLSurface.pas" + 3) + $5
[50048010]{rtl120.bpl } Classes.TThreadList.UnlockList (Line 3751, "Classes.pas" + 0) + $4
[50048347]{rtl120.bpl } Classes.TInterfaceList.GetCount (Line 3862, "Classes.pas" + 5) + $6
...
I tried with an empty project and just one TDataSet and TChart and gives the same error.
There is any way to fix it? there is any way to manually connect TSeries XValues and Y Values to a generic TClientDataset?