Jump to content
Software FX Community

Exception when calling Chart1.ClearData(ClearDataFlag.AllData)


User (Legacy)

Recommended Posts

Hi,

I am using ChartFX with the Statistical extension. When calling

Chart1.ClearData(ClearDataFlag.AllData) I get the followimg exception:

"System.NullReferenceException: Der Objektverweis wurde nicht auf eine

Objektinstanz festgelegt.

at SoftwareFX.ChartFX.Base.ToolBar.get_Length()

at SoftwareFX.ChartFX.Statistical.WinForms.Statistics.2U(Boolean LS)

at SoftwareFX.ChartFX.Statistical.WinForms.Statistics.2T(CommandBar LR)

at SoftwareFX.ChartFX.Statistical.WinForms.Statistics.2S(CommandBar LQ)

at SoftwareFX.ChartFX.ExtensionManager.MD(CommandBar 2AT)

at SoftwareFX.ChartFX.0F.BQ(ChartCore 1M5, Boolean 1M6)

at SoftwareFX.ChartFX.0F.BR(ChartCore 1M7, ToolBar 1M8, ChartType 1M9)

at SoftwareFX.ChartFX.0F.BJ(ChartCore 1LL, ChartType 1LM)

at SoftwareFX.ChartFX.0F.BL(ChartCore 1LQ, Boolean 1LR, Boolean 1LS,

IBarClient 1LT, ChartType 1LU)

at SoftwareFX.ChartFX.ChartCore.get_ToolBarObj()

at SoftwareFX.ChartFX.Statistical.WinForms.Statistics.2V()

at SoftwareFX.ChartFX.Statistical.WinForms.Statistics.2Q()

at SoftwareFX.ChartFX.Statistical.WinForms.Statistics.2P(IContainerX LO)

at SoftwareFX.ChartFX.ExtensionManager.ME(ChartCore 2AU)

at SoftwareFX.ChartFX.ExtensionManager.M7(Boolean 2AG)

at SoftwareFX.ChartFX.ChartCore.ClearData(ClearDataFlag clearDataFlag)

at ITS.GraphicalControl.ControlChart.Charts.CChartHelper.ClearChart(Chart&

aChart) in U:\ITS\NET\ITSGraphicalControl\Charts\CChartHelper.vb:line 709

at ITS.GraphicalControl.ControlChart.Charts.CUChart.Draw(CControlChart

aControlChart, Graphics aGraphic) in

U:\ITS\NET\ITSGraphicalControl\Charts\CUChart.vb:line 37

at ITS.GraphicalControl.ControlChart.ControlChart.InitWithResults(_IResults

aResults, EAttributeType aAttributeType) in

U:\ITS\NET\ITSGraphicalControl\ControlChart.vb:line 135"

Best regards,

Thorsten Blawatt

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...