Re: Is it possible to draw a closed grid without any spur?
Brought to you by:
rathmann
|
From: Uwe R. <Uwe...@ti...> - 2022-07-26 06:46:41
|
> Is it possible to draw a closed grid in QWT?
Guess you have to overload QwtPlotGrid::draw.
Might be possible to do something like this:
void YourGrid::draw( QPainter* painter,
const QwtScaleMap& xMap, const QwtScaleMap& yMap,
const QRectF& canvasRect ) const
{
QRectF gridRect = ...; // using the maps
QwtPlotGrid::draw( painter, xMap, yMap, gridRect );
}
HTH,
Uwe
|