Crash when using Pie Chart
Posted: Tue Sep 17, 2013 1:56 pm
Hi,
I am porting an application from Codegear 2007 to XE4. We have acquired the full version of Teechart.
But the use of TPieSeries in our dfm file, causes the crash of our application (though it was working fine when compiled with 2007 tools and librairies).
Here is the call stack:
:5005eb5e rtl180.@System@TObject@InitInstance$qqrpv + 0x1e
:00886226 ; TPieSeries
:50160a80 ; E:\Naviplex2\rtl180.bpl
:50160cad rtl180.@System@Classes@TReader@ReadComponent$qqrp25System@Classes@TComponent + 0x8d
:50160f5e rtl180.@System@Classes@TReader@ReadDataInner$qqrxp25System@Classes@TComponent + 0x8e
:50160ecc rtl180.@System@Classes@TReader@ReadData$qqrxp25System@Classes@TComponent + 0x6c
:5016dfc6 rtl180.@System@Classes@TComponent@ReadState$qqrp22System@Classes@TReader + 0x6
:008eca3f Vcltee::Teeprocs::TCustomTeePanel::ReadState + 0x27
:50160d42 ; E:\Naviplex2\rtl180.bpl
:50160f5e rtl180.@System@Classes@TReader@ReadDataInner$qqrxp25System@Classes@TComponent + 0x8e
:50160e9d rtl180.@System@Classes@TReader@ReadData$qqrxp25System@Classes@TComponent + 0x3d
:5016dfc6 rtl180.@System@Classes@TComponent@ReadState$qqrp22System@Classes@TReader + 0x6
:0071548e ; ReadState
:50161e5a ; E:\Naviplex2\rtl180.bpl
:5015b7eb rtl180.@System@Classes@TStream@ReadComponent$qqrxp25System@Classes@TComponent + 0x37
:50150b10 rtl180.@System@Classes@IsUniqueGlobalComponentName$qqrx20System@UnicodeString + 0x80
:50152464 rtl180.@System@Classes@EndGlobalLoading$qqrv + 0xc0
:501524f2 rtl180.@System@Classes@InitInheritedComponent$qqrp25System@Classes@TComponentp17System@TMetaClass + 0x66
:00714cb7 ; TCustomForm
:00411BFC Vcl::Forms::TForm::TForm(this=:03402250, AOwner=NULL)
:00536577 TfrmSelectGraphType::TfrmSelectGraphType(this=:03402250, rptWin=:04346230, dlgDefineGraph=:042F6F80)
...
and here is the extract of the faulty code in the dfm file:
object serPieGraph: TPieSeries
Marks.Arrow.Visible = True
Marks.Callout.Brush.Color = clBlack
Marks.Callout.Arrow.Visible = True
Marks.BackColor = clSilver
Marks.Color = clSilver
Marks.Style = smsXValue
Marks.Visible = True
Gradient.Direction = gdRadial
OtherSlice.Legend.Visible = False
OtherSlice.Text = 'Other'
PieValues.Name = 'Pie'
PieValues.Order = loNone
end
Do you have an idea of what happens ?
I am porting an application from Codegear 2007 to XE4. We have acquired the full version of Teechart.
But the use of TPieSeries in our dfm file, causes the crash of our application (though it was working fine when compiled with 2007 tools and librairies).
Here is the call stack:
:5005eb5e rtl180.@System@TObject@InitInstance$qqrpv + 0x1e
:00886226 ; TPieSeries
:50160a80 ; E:\Naviplex2\rtl180.bpl
:50160cad rtl180.@System@Classes@TReader@ReadComponent$qqrp25System@Classes@TComponent + 0x8d
:50160f5e rtl180.@System@Classes@TReader@ReadDataInner$qqrxp25System@Classes@TComponent + 0x8e
:50160ecc rtl180.@System@Classes@TReader@ReadData$qqrxp25System@Classes@TComponent + 0x6c
:5016dfc6 rtl180.@System@Classes@TComponent@ReadState$qqrp22System@Classes@TReader + 0x6
:008eca3f Vcltee::Teeprocs::TCustomTeePanel::ReadState + 0x27
:50160d42 ; E:\Naviplex2\rtl180.bpl
:50160f5e rtl180.@System@Classes@TReader@ReadDataInner$qqrxp25System@Classes@TComponent + 0x8e
:50160e9d rtl180.@System@Classes@TReader@ReadData$qqrxp25System@Classes@TComponent + 0x3d
:5016dfc6 rtl180.@System@Classes@TComponent@ReadState$qqrp22System@Classes@TReader + 0x6
:0071548e ; ReadState
:50161e5a ; E:\Naviplex2\rtl180.bpl
:5015b7eb rtl180.@System@Classes@TStream@ReadComponent$qqrxp25System@Classes@TComponent + 0x37
:50150b10 rtl180.@System@Classes@IsUniqueGlobalComponentName$qqrx20System@UnicodeString + 0x80
:50152464 rtl180.@System@Classes@EndGlobalLoading$qqrv + 0xc0
:501524f2 rtl180.@System@Classes@InitInheritedComponent$qqrp25System@Classes@TComponentp17System@TMetaClass + 0x66
:00714cb7 ; TCustomForm
:00411BFC Vcl::Forms::TForm::TForm(this=:03402250, AOwner=NULL)
:00536577 TfrmSelectGraphType::TfrmSelectGraphType(this=:03402250, rptWin=:04346230, dlgDefineGraph=:042F6F80)
...
and here is the extract of the faulty code in the dfm file:
object serPieGraph: TPieSeries
Marks.Arrow.Visible = True
Marks.Callout.Brush.Color = clBlack
Marks.Callout.Arrow.Visible = True
Marks.BackColor = clSilver
Marks.Color = clSilver
Marks.Style = smsXValue
Marks.Visible = True
Gradient.Direction = gdRadial
OtherSlice.Legend.Visible = False
OtherSlice.Text = 'Other'
PieValues.Name = 'Pie'
PieValues.Order = loNone
end
Do you have an idea of what happens ?