Hi.
Attempting to use a histogram with an empty dataset
(empty array of doubles in my case), causes the
following exception:
Unhandled Exception:
System.ArgumentOutOfRangeException: Argument is out of
range.
Parameter name: index
at System.Array.System.Collections.IList.get_Item
(Int32 index) [0x00000]
at NPlot.AdapterUtils+DataGetter_IList.Get (Int32 i)
[0x00000]
at NPlot.SequenceAdapter.get_Item (Int32 i) [0x00000]
at NPlot.HistogramPlot.SuggestXAxis () [0x00000]
at NPlot.PlotSurface2D.UpdateAxes (Boolean
recalculateAll) [0x00000]
at NPlot.PlotSurface2D.Add (IDrawable p,
XAxisPosition xp, YAxisPosition yp, Int32 zOrder) [0x00000]
at NPlot.PlotSurface2D.Add (IDrawable p, Int32
zOrder) [0x00000]
at NPlot.PlotSurface2D.Add (IDrawable p) [0x00000]
/Jacob