Skip to content
Permalink
Browse files

Try to make the histogram smoother

  • Loading branch information
timlinux committed Jul 4, 2011
1 parent eb89be3 commit 963fec0b50a0860795695c377b23b3997429ccf5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsrasterlayerproperties.cpp
@@ -1920,6 +1920,7 @@ void QgsRasterLayerProperties::refreshHistogram()
QgsRasterBandStats myRasterBandStats = mRasterLayer->bandStatistics( myIteratorInt );
mRasterLayer->populateHistogram( myIteratorInt, BINCOUNT, myIgnoreOutOfRangeFlag, myThoroughBandScanFlag );
QwtPlotCurve * mypCurve = new QwtPlotCurve( tr( "Band %1" ).arg( myIteratorInt ) );
mypCurve->setCurveAttribute( QwtPlotCurve::Fitted );
mypCurve->setRenderHint( QwtPlotItem::RenderAntialiased );
mypCurve->setPen( QPen( myColors.at( myIteratorInt ) ) );
QwtArray<double> myX2Data;//qwtarray is just a wrapped qvector

0 comments on commit 963fec0

Please sign in to comment.
You can’t perform that action at this time.