Hi all,

I create graphic bar chart using GraphicView framework. I derive QGraphicsItem to create the bar chart, and this bar chart is added to the scene using QGraphicsScene::addItem().

I get error (crash), but I'm not sure whether it's caused when the item is added to the scene or in the painting process. This happens intermittently.

The error says:

Qt Code:
  1. ASSERT: "width > 0.0" in file painting\qrasterizer.cpp, line 710
To copy to clipboard, switch view to plain text mode 

Please advise.