diff --git a/README b/README index 26613cd..a580908 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -------------------------------- -Commercial Charts Add-on Preview +Commercial Charts Add-on Beta -------------------------------- Whats in Qt Commercial Charts @@ -46,15 +46,12 @@ into "doc/html" in the build directory. KNOWN ISSUES ============ - * The preview version of Qt Commercial Charts is still under development - and thus should not be used in e.g. product development - * The Charts API might change between the Preview and first official release + * The Charts API should be stable, but might still change between the Beta and first official release * Some areas will be refactored before the first official release - * Qt Designer plugin is missing * Enable/disable tooltip is missing from the API * Mutliple axis are not suported at the moment. * Logartmic, polar axis are not supported at the moment. - * Getting data from QAbstractItemModel is not feature complete. + * Model support for QBarSeries is not complete. * Interlnal layout hadnling is not working properly. * The QML Bindings are still under development and to be considered as early draft - * All the current QML APIs are shown in qmlchart demo app \ No newline at end of file + * All the current QML APIs are shown in qmlchart demo app diff --git a/examples/stackedbarchartdrilldown/drilldownseries.cpp b/examples/stackedbarchartdrilldown/drilldownseries.cpp index b767cb4..2a81057 100644 --- a/examples/stackedbarchartdrilldown/drilldownseries.cpp +++ b/examples/stackedbarchartdrilldown/drilldownseries.cpp @@ -25,6 +25,7 @@ QTCOMMERCIALCHART_USE_NAMESPACE DrilldownBarSeries::DrilldownBarSeries(QStringList categories, QObject *parent) : QStackedBarSeries(parent) { + Q_UNUSED(categories); } void DrilldownBarSeries::mapDrilldownSeries(int index, DrilldownBarSeries* drilldownSeries) diff --git a/src/barchart/qbarseries.cpp b/src/barchart/qbarseries.cpp index e79e456..be1b07a 100644 --- a/src/barchart/qbarseries.cpp +++ b/src/barchart/qbarseries.cpp @@ -247,7 +247,11 @@ bool QBarSeries::insert(int index, QBarSet *set) void QBarSeries::clear() { Q_D(QBarSeries); - d->remove(barSets()); + bool success = d->remove(barSets()); + if (success) { + emit barsetsRemoved(sets); + } + return success; } /*! diff --git a/src/splinechart/qsplineseries.cpp b/src/splinechart/qsplineseries.cpp index fa84abd..ffa2a81 100644 --- a/src/splinechart/qsplineseries.cpp +++ b/src/splinechart/qsplineseries.cpp @@ -109,8 +109,7 @@ void QSplineSeriesPrivate::calculateControlPoints() } // Calculate first Bezier control points - // Right hand side vector - // Set of equations for P0 to Pn points. + // Set of equations for P0 to Pn points. // // | 2 1 0 0 ... 0 0 0 ... 0 0 0 | | P1_1 | | P0 + 2 * P1 | // | 1 4 1 0 ... 0 0 0 ... 0 0 0 | | P1_2 | | 4 * P1 + 2 * P2 |