Jump to content
Software FX Community

MMCCPaulEden

Members
  • Posts

    88
  • Joined

  • Last visited

Everything posted by MMCCPaulEden

  1. Hi I can't help much on the 3d front, I have my own issues with the x-axis labeling, but to plot multiple lines you'll need to create a series for each data set and then set that data source on each series. Paul
  2. This is a thread bump as, having upgraded to 0.8.3065.20832, there are still issues with applying 3d templates. This time the issue resides in the resource XAML taken from the sample application where 'X' 'Y' and 'Z' are not found in the type Cylinder: <DataTemplate x:Key="Cylinder"> <cfx3d:Cylinder Cap="Both" X="{Binding Path=X}" Y="{Binding Path=Y}" Width="{Binding Path=W}" Height="{Binding Path=H}" Depth="{Binding Path=W}" Z="{Binding Path=Z}" Material="{Binding Path=View3D.Material}" BackMaterial="{Binding Path=View3D.Material}"/> </DataTemplate> Many thanks Paul
  3. Hi Can anyone point out where I may be going wrong in the attched project? I have a List (Of <a test structure>) being passed to a chart, and setting the .AxisX.Labels.Binding = "Name" as the property requires a string but the chart fails to render the values associated in the list of objects value properties. Many thanks Paul
  4. I will have a go, though at present the actual data on the chart is not important. When will the latest buld be available? I don't want to contact the wpf email address and end up getting the same version again. Thanks Paul
  5. Hi When I attempt to set the template of a chart to change it to a cylinder 3d bar chart via .AllSeries.Template = DirectCast(FindResource("Cylinder"), DataTemplate) , the following exception occurs: System.NullReferenceException was caught Message="Object reference not set to an instance of an object." Source="ChartFX.WPF" StackTrace: at ChartFX.WPF.Chart.ChartFX.WPF.Internal.IAmbient.CleanupChildAttributes(DependencyProperty childDP, DependencyProperty dp) at ChartFX.WPF.Internal.ChildAttributes.a(DependencyObject A_0, DependencyPropertyChangedEventArgs A_1) at System.Windows.PropertyChangedCallback.Invoke(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkContentElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at ChartFX.WPF.AllSeriesAttributes.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at ChartFX.WPF.SeriesAttributes.set_Template(DataTemplate value) at NTO.ctrlAnalysis.AddAxiomToAxiomCharts(Int32 pPrimaryHeirarchyLevel, Int32 pSubHeirarchyLevel, DiagramNode pParentNode, String pWhereClause, String pSubWhereClause, String pAxiomName, String pSubAxiomName, List`1 pHeirarchyLevels, List`1 pSubHeirarchyLevels) in C:\Users\Neutrino_1\Documents\Projects\Neutrino\OBM\UI\ctrlAnalysis.xaml.vb:line 844 InnerException:
  6. hi Thanks for the very quick feedback. One thing to note though, in the previous version I had when such a list was passed to the chart, it would plot (in my case a bar) based on the lengths of the strings. Many thanks Paul
  7. Hi I was wondering if you could tell me which version you are using - having had to revert to 0.8.2957.30556 build, while the hack of setting the ItemSource of the chart to Null does does get me over the immediate exception on the Series.Add, I do get the following exception thrown whan the charts are being displayed / painted: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="ChartFX.WPF" StackTrace: at j.a(Object A_0, Type A_1, String A_2) at au.a(Object A_0, Object A_1, Type A_2, Int32 A_3) at ca.a(Object A_0, Object A_1, Type A_2, Int32 A_3) at ChartFX.WPF.SeriesAttributes.a(ICollection A_0, Int32 A_1, Int32 A_2, NotifyCollectionChangedAction A_3, DataValues A_4) at ChartFX.WPF.SeriesAttributes.a(IEnumerable A_0, Int32 A_1, Int32 A_2, NotifyCollectionChangedAction A_3, DataValues A_4) at ChartFX.WPF.SeriesAttributes.a(IEnumerable A_0, DataValues A_1) at ChartFX.WPF.DataValues.a(ag A_0) at ChartFX.WPF.Chart.ar() at ChartFX.WPF.Chart.a(Object A_0, RoutedEventArgs A_1) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.ITfMessagePump.GetMessageW(MSG& msg, Int32 hwnd, Int32 msgFilterMin, Int32 msgFilterMax, Boolean& result) at System.Windows.Threading.Dispatcher.GetMessage(MSG& msg, IntPtr hwnd, Int32 minMessage, Int32 maxMessage) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at NTO.App.Main() in C:\Users\Neutrino_1\Documents\Projects\Neutrino\OBM\obj\Debug\App.g.vb:line 75 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: Many thanks Paul
  8. Hi Using DLLs versioned as above, project fails to compile after setting the Chart.ItemsSource property with the follwoing exception: System.NullReferenceException was unhandled Message="Object reference not set to an instance of an object." Source="ChartFX.WPF" StackTrace: at ChartFX.WPF.DataValues.a(ColumnGetter[] A_0, Object A_1, Boolean A_2, Int32 A_3, Boolean A_4, IList`1 A_5, ColumnGetter& A_6, ColumnGetter& A_7, ColumnGetter& A_8) at ChartFX.WPF.DataValues.a(IList`1 A_0, IEnumerable A_1, Int32 A_2, Boolean A_3) at ChartFX.WPF.DataValues.a(b1 A_0, Boolean A_1) at ChartFX.WPF.Chart.ax() at ChartFX.WPF.Chart.a(Object A_0, RoutedEventArgs A_1) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at MS.Internal.FrameworkObject.OnLoaded(RoutedEventArgs args) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.ShowWindow(HandleRef hWnd, Int32 nCmdShow) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Boolean isSingleParameter) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Boolean isSingleParameter, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Boolean isSingleParameter) at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at ChartFxTest.App.Main() in C:\Users\Neutrino_1\Documents\Expression\Expression Blend Projects\ChartFxTest\ChartFxTest\obj\Debug\App.g.vb:line 61 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: Project attached for reference - can anyone confirm / duplicate this?. Many thanks Paul
  9. Thanks for the information regarding new releases - do you know the average turnaround for responding to that email address? Many thanks Paul
  10. Hi How do I get the lastest version? On my machine the ChartFX DLLs are versioned as 0.8.2957.30556 which is the same as stated in your 'Download Beta' section - this version does not have AxisX.Labels.BindingPath Regards Paul
  11. Hi I'm using Linq to query a data table - it's output returns a Collections.Generic.IEnumerable(Of Object). In your sample app the DataItem object is used to put data values onto the X axis of a bar chart - is it possibel to do the same in my scenario? Many thanks
  12. When can we expect to see updated documentation, inline with the current version as API help file date is somewhat old @ August 2007. Many thanks Paul
×
×
  • Create New...