Toad World® Forums

Histogram Tool seems to be broken in Toad 3.0.0.604


#1

In Result Sets window click on any Right click and choose Histogram Tool

This exception seems to happen regardless on which cell is selected.

System.ArithmeticException
Function does not accept floating point Not-a-Number values.
Stack Trace:
at System.Math.Sign(Double value)
at DevExpress.XtraCharts.Native.MathUtils.StrongRound(Double value)
at DevExpress.XtraCharts.Native.XYDiagramPaneViewDataCalculator.get_MaximumMappingBounds()
at DevExpress.XtraCharts.Native.XYDiagramPaneViewDataCalculator.CalculateLabelsLayout(TextMeasurer textMeasurer)
at DevExpress.XtraCharts.Native.XYDiagramPaneViewDataCalculator.Calculate(TextMeasurer textMeasurer)
at DevExpress.XtraCharts.Native.XYDiagramViewDataCalculator.PerformPaneViewDataCalculation(List1 paneViewDataCalculatorList, TextMeasurer textMeasurer) at DevExpress.XtraCharts.Native.XYDiagramViewDataCalculator.Calculate(TextMeasurer textMeasurer, Rectangle diagramBounds, IList1 seriesDataList, Boolean performRangeCorrection)
at DevExpress.XtraCharts.XYDiagram2D.CalculateViewData(TextMeasurer textMeasurer, Rectangle diagramBounds, IList`1 seriesDataList, Boolean performRangeCorrection)
at DevExpress.XtraCharts.Native.ChartViewData…ctor(Chart chart, ZPlaneRectangle bounds, ZPlaneRectangle innerBounds, Boolean performRangeCorrection)
at DevExpress.XtraCharts.Native.ChartViewData.Create(Chart chart, ZPlaneRectangle bounds, Boolean performRangeCorrection)
at DevExpress.XtraCharts.Native.Chart.PerformViewDataCalculation(Rectangle bounds, Boolean correctRanges)
at DevExpress.XtraCharts.Native.Chart.PrepareRenderInternal(Rectangle bounds)
at DevExpress.XtraCharts.Native.Chart.UpdateCache(Rectangle bounds, Int32 cacheCode)
at DevExpress.XtraCharts.Native.Chart.DrawCachedContent2D(INativeGraphics gr, Rectangle bounds)
at DevExpress.XtraCharts.Native.Chart.DrawContent2D(INativeGraphics gr, Rectangle bounds, Boolean useImageCache)
at DevExpress.XtraCharts.Native.Chart.DrawContent(Graphics graphics, INativeGraphics gr, Rectangle bounds, Boolean lockDrawingHelper, Boolean useImageCache)
at DevExpress.XtraCharts.Native.Chart.DrawContent(Graphics gr, Rectangle bounds, Boolean useImageCache)
at DevExpress.XtraCharts.ChartControl.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraCharts.ChartControl.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


#2

Thank you, ZeenKork,

TSY-1114 was made for this.

Please, check our release notes for future fixes.

Filip