Jump to content
Software FX Community

Error adjusting AxisY in multiple panes


superkikin2
 Share

Recommended Posts

Hello,

I have a chart with multiple panes whithin. Each pane represents the historic evolution of stock value. All works fine except in one case.

If I generate a chart with three or more panes (stocks values) and two of those have the max a min value overlapped, the graph throws error. The error trace is this: 

"Object reference not set to an instance of an object." at ChartFX.WinForms.Axis.a(t A_0, Rectangle[] A_1, RepaintFlags& A_2, AxisPaint A_3, AxisSection& A_4)

at ChartFX.WinForms.AxisCollection.a(t A_0, Rectangle[] A_1, AxisPaint A_2)

at ChartFX.WinForms.Pane.a(t A_0, Rectangle[] A_1, AxisPaint A_2)

at ChartFX.WinForms.PaneCollection.a(t A_0, Rectangle[] A_1, AxisPaint A_2)

at ChartFX.WinForms.t.b(Boolean A_0, Boolean A_1)

at ChartFX.WinForms.t.a(IFrame A_0, Int32& A_1)

at ChartFX.WinForms.Chart.a(PaintBar A_0, IGraphicsEx A_1)

at ChartFX.WinForms.al.a(PaintEventArgs A_0)

at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)

at System.Windows.Forms.Control.WmPaint(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)

at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)

at IBERIA.Market.Data.Publisher.Client.Program.Main()

The binding values have this maxs and mins:

Serie #1 :  1196 - 1056

Serie #2 :  1324 - 1005

Serie #3 :  1025 - 970

What can i do?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...