Jump to content
Software FX Community

ubaid.tariq

Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by ubaid.tariq

  1. Thats because you are not using the same DLL as mine. I am using trial version with a "trial" message at the bottom which makes the size of chart area different from that of yours and i believe you have to zoom it to slightly different parameters to generate the exception.
  2. I have set the zooming programmatically to generate the desired exception on scrolling. Run the attached solution, click on Zoom (Winform Button) and then scroll, you will get that exception. Also i have noticed that it only occurs when toolbar is set to be visible.
  3. I have'nt applied any customization on the chart. just created a new form, added chartFX and em getting that exception. i have downloaded chartFX around 2 months back and its version is 7.0.2893.24916 Following are some exception details: Message: Object reference not set to an instance of an object. Stack Trace: at ChartFX.WinForms.Axis.c(Int32 A_0, Int32 A_1) at ChartFX.WinForms.ag.b(MouseEventArgs A_0) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 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 ChartFX_Sample_App.Program.Main() in E:\Folder To Move\Folder To Move\Test Projects\ChartFX_Sample_App\ChartFX_Sample_App\Program.cs:line 20
  4. An unhandled exception occurs during scrolling after zooming it a specific way. how to fix it ? You can find the video producing exception at the following link: https://www.yousendit.com/download/Q01ITkFnUzhlM1JjR0E9PQ
  5. Is there anything like "Scale Break" in chartfx to make data spikes readable ??
  6. Hi ... I am synchronizing the chart with my custom Legend Box and the issue is, when i apply some palette from default toolbar or change the color of series from default context menu, i did'nt get the updated color of series in chart.InternalCommand event. Is there any way of getting the updated color in chart.InternalCommand event or some other event available for this purpose ??
  7. Try the attached solution. The back color change option seems to be one step behind. Also when you click on "change font" it will have no affect in first try and after that click on any of the buttons it will throw you an unhandled exception and chart area will have a big cross on it.
  8. It is working fine as far as label text is concerned. I have tried applying different back Color and Border Style on individual points but its not giving correct result in first try. i have to enable/disable labels multiple times to get the desired result, i believe there is some kind of refresh problem. Also when i try to apply different font, it gives me unhandled exception "invalid parameter".
  9. How can i delete custom commands from commandCollection?? FYI: I have to add multiple commands(say 100) in context menu during runtime which would keep on changing during user interaction. Now if i dont remove the previous commands from the commandCollection, it would add upto system resources as the custom command's count may reach to thousands. I dont want to use chart.Reset as it will reset all the chart customization. Regards, Ubaid Tariq
  10. Hi .... I posted a wrong query. the actual query is how can i apply different data formats on different points in a single series. Say i have 2 points "P1" and "P2" in series "S". How can i set currency format to P1 and scientific format to P2 ? I am trying to do so using chart.AxisY.DataFormat but it applies to all points in all the series. Regards, Ubaid Tariq
  11. Hi I have to show multiple values in a single point label say %v and %p and i want the format only to be applied on %v but when i apply it using chart1.AxisY.DataFormat, the format is applied on both the values. How can i stop %p from adapting the DataFormat??? Regards, Ubaid Tariq
  12. Hi ... I want to popup a user control when i move mouse to some context menu's command ... Is there any way to achieve so ?? Regards, Ubaid Tariq
  13. Hi ... i want to get parent command id of a user defined command. Suppose i have added a command "Sorting" in context menu which has 2 sub commands "Sort By X-Axis" and "Sort By Y-Axis". Now i have 2 other sub-commands say "Asc" and "Des" in both "Sort By X-Axis" and "Sort By Y-Axis" and i click on any of it, How would i know whther i have come through "Sort By X-Axis" or "Sort By Y-Axis"?? Is there any way of getting the parent command id ?? or is there any event triggered when subcommands of command gets visible so that i can store its command id to some variable ?? Regards, Ubaid Tariq
  14. Hi I am talking about Y-Values. Suppose i have 2 series for Sales & Refunds. I have got 5 labels on X-Axis from year 2000-2004. Now if i don't have any refund value for year 2002, how would i set it blank. Leaving it unassigned shows some garbage value there. I also don't want to set it to 0. Lets make it work on bar chart.
  15. Hi .... Is there any way of inserting empty points. suppose i have 3 labels on x-axis and i want to assign values to only 1st & 3rd label, how can i do this?? I have tried missing the middle value but it shows me some garbage value there. Also i dont want to assign it 0. Regards, Ubaid Tariq
×
×
  • Create New...