Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
761
XamOlapPieChart. unhandled exception when clicking on pie slice
posted

Hello

I am using the version 12.1.20121.1010 of the WPF/DV controls.

I use the XamOlapPieChart attached to the same data source (ADOMD) as for a pivot grid. The pies render and update correctly, every time when I update the pivot grid. However, when I click on any of the pie slices generated, on any of the pies, an unhandled exception occurs. Please refer to the exception details just following. Clicking the items in the datatree does not create an exception. Also, I would like to mention that the pie slices clicked, cannot be drilled down more.

Thanks and best regards,

Frank

Exception Details

Message: Specified argument was out of the range of valid values. Parameter name: index

Source: Microsoft.AnalysisServices.AdomdClient

Stack Trace:    at Microsoft.AnalysisServices.AdomdClient.LevelCollectionInternal.get_Item(Int32 index)
   at Microsoft.AnalysisServices.AdomdClient.LevelCollection.get_Item(Int32 index)
   at Infragistics.Olap.Adomd.AdomdDataProvider.LoadMembersAsync(ICube cube, IFilterMember filterMember)
   at Infragistics.Olap.FilterViewModelBase.FilterMemberPropertyChanged(Object sender, PropertyChangedEventArgs e)
   at System.ComponentModel.PropertyChangedEventHandler.Invoke(Object sender, PropertyChangedEventArgs e)
   at Infragistics.Olap.Data.Base.FilterMember.OnPropertyChanged(String propertyName)
   at Infragistics.Olap.Data.Base.FilterMember.set_IsExpanded(Boolean value)
   at Infragistics.Olap.Xmla.XmlaDataSource.SwitchMemberWorkStartAction(Work work)
   at Infragistics.Olap.DataSourceBase.StartWork(Work work)
   at Infragistics.Olap.DataSourceBase.EnqueueWork(Work work)
   at Infragistics.Olap.DataSourceBase.SwitchAxisMember(IMember axisMember)
   at Infragistics.Controls.Charts.OlapPieChartItem.PieChart_SliceClick(Object sender, SliceClickEventArgs e)
   at Infragistics.Controls.Charts.PieChartBase.OnSliceClick(Object sender, SliceClickEventArgs e)
   at Infragistics.Controls.Charts.PieChartBase.SliceClicked(Slice slice, Object args)
   at Infragistics.Controls.Charts.PieChartBaseView.<OnInit>b__2(Object o, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   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(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Inner Exception is null