Quote Originally Posted by Uwe View Post

Qt Code:
  1. class YourChart: public QwtPlotMultiBarChart
  2. {
  3. virtual void draw( QPainter *painter,
  4. const QwtScaleMap &xMap, const QwtScaleMap &yMap,
  5. const QRectF &canvasRect ) const
  6. {
  7. m_barGeometries.clear();
  8. QwtPlotMultiBarChart::draw( painter, xMap, yMap, canvasRect );
  9. }
  10. };
To copy to clipboard, switch view to plain text mode 

Uwe
Hi Uwe!
Uh, I might be missing something. But how can I clear the lookup table if the method is const?
btw, thank you for your responses at qt forums, which I have been coming back to every once and again for the past weeks.