Skip to content
Permalink
Browse files

Try to make the histogram smoother

  • Loading branch information
timlinux committed Jul 4, 2011
1 parent 127f7c0 commit 0de52ccf7540244ab16b63459ec0dc98e877c1eb
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsrasterlayerproperties.cpp
@@ -1917,6 +1917,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 0de52cc

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