Commit dbcd5c21 authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

BUG: Fixed a rendering artifact with the bars.

The height of the bars was reduced when grouping due, this is now
corrected and the logic is hopefully a little clearer.
parent 72ce779c
......@@ -104,7 +104,8 @@ bool vtkPlotBar::Paint(vtkContext2D *painter)
for (int i = 0; i < n; ++i)
{
painter->DrawRect(f[2*i]-(this->Width/2)-this->Offset, 0.0, this->Width, f[2*i+1] - (this->Width/2));
painter->DrawRect(f[2*i]-(this->Width/2)-this->Offset, 0.0,
this->Width, f[2*i+1]);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment