SVN commit 803519 by jsimon: Add a method to set a KoChart::ChartModel on the shape, with an initial selection (usually made by the user, namely a cell selection in KSpread) to create the data sets from. M +1 -0 koChart.h --- trunk/koffice/interfaces/koChart.h #803518:803519 @@ -86,6 +86,7 @@ virtual void setModel( QAbstractItemModel* model, bool takeOwnershipOfModel = false ) = 0; + virtual void setModel( ChartModel *model, const QVector &selection ) = 0; virtual void setFirstRowIsLabel( bool isLabel ) = 0; virtual void setFirstColumnIsLabel( bool isLabel ) = 0; };