QCustomPlot Discussion and Comments

CustomPlot->addItem isn't existsReturn to overview

Hello! Many examples include the method named CustomPlot->addItem (line, arrow, rectangle...), but it isn't exists in my library. What could be the problem?

Check changelog http://www.qcustomplot.com/release/2.0.0-beta/changelog.txt addItem() was removed in 2.0.0 beta. Are you looking at older version 1.3.2 examples?

in 2.0 it`s registerItem()

Octo: No, registerItem is a protected method for internal use and must not be called by the user.

Since QCP2.0.0, addItem is not needed anymore, as the item is added to the QCustomPlot instance automatically in its constructor.