YAxes and Series RemoveAt
Posted: Mon Mar 23, 2015 6:11 am
How are you?
I was sent an e-mail.
But no reply and write for the forum.
The first question.
I want to fix the X-Axis Label from real-time charts.
Was attached my sample project.
To draw a fixed X-axis Label in real-time charts should you proceed as sample projects?
The second question.
This Exception occur in the following scenarios.
1. Add Multiple Series and YAxes.
2. Remove using a "RemoveAt" method Series and YAxes in the middle.
The sample project was attached.
My OS: Windows7 64bit
VS: VisualStudio 2013 Professional
Thank you.
==================================================================
Exception
Message : Invalid Y axis index
HResult : -2146233088
TargetSite : {Boolean LTB(Int32)}
StackTrace :
위치: Arction.LightningChartUltimate.SeriesXY.SeriesBaseXY.LTB(Int32 A)
위치: Arction.LightningChartUltimate.SeriesXY.SeriesBaseXY.SetSubNodeOwners(IChartNode ownerNode)
위치: Arction.LightningChartUltimate.SeriesXY.PointLineSeriesBase.SetSubNodeOwners(IChartNode ownerNode)
위치: Arction.LightningChartUltimate.Views.ViewXY.ViewXY.SetSubNodeOwners(IChartNode ownerNode)
위치: Arction.LightningChartUltimate.LightningChartUltimate.NCC(Object A, EventArgs B)
위치: System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
위치: System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
위치: System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
위치: System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
위치: System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
위치: System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
위치: YAxesControl.Program.Main() 파일 e:\Work\Project\LightningChart\Chart영역_추가삭제\YAxesControl\YAxesControl\Program.cs:줄 18
위치: System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
위치: Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
위치: System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart()
I was sent an e-mail.
But no reply and write for the forum.
The first question.
I want to fix the X-Axis Label from real-time charts.
Was attached my sample project.
To draw a fixed X-axis Label in real-time charts should you proceed as sample projects?
The second question.
This Exception occur in the following scenarios.
1. Add Multiple Series and YAxes.
2. Remove using a "RemoveAt" method Series and YAxes in the middle.
The sample project was attached.
My OS: Windows7 64bit
VS: VisualStudio 2013 Professional
Thank you.
==================================================================
Exception
Message : Invalid Y axis index
HResult : -2146233088
TargetSite : {Boolean LTB(Int32)}
StackTrace :
위치: Arction.LightningChartUltimate.SeriesXY.SeriesBaseXY.LTB(Int32 A)
위치: Arction.LightningChartUltimate.SeriesXY.SeriesBaseXY.SetSubNodeOwners(IChartNode ownerNode)
위치: Arction.LightningChartUltimate.SeriesXY.PointLineSeriesBase.SetSubNodeOwners(IChartNode ownerNode)
위치: Arction.LightningChartUltimate.Views.ViewXY.ViewXY.SetSubNodeOwners(IChartNode ownerNode)
위치: Arction.LightningChartUltimate.LightningChartUltimate.NCC(Object A, EventArgs B)
위치: System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
위치: System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
위치: System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
위치: System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
위치: System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
위치: System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
위치: YAxesControl.Program.Main() 파일 e:\Work\Project\LightningChart\Chart영역_추가삭제\YAxesControl\YAxesControl\Program.cs:줄 18
위치: System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
위치: Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
위치: System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart()