How to draw histogram for a non-integer raster layer

Discussion created by gdbruins on Aug 4, 2011
Latest reply on Aug 4, 2011 by gdbruins
Can anyone help me out with drawing a histogram of a raster layer using VBA? The raster pixel type is continuous floating values (not integers).

Here is a portion of codes I find relevent:

    'get histogram

    Dim pRasterHistogram As IRasterHistogram
    Set pRasterHistogram = pBand.Histogram

How can I possibly proceed to plot the histogram and save it to an image file, such as using dagaGraphT.ExportToFile?
Thank you very much.