From 3948345f91dab3e162ecc0f151d82b2d3ef5fd54 2012-02-27 15:20:15 From: sauimone Date: 2012-02-27 15:20:15 Subject: [PATCH] compile fix. Removed captain obvious documentation from barseries --- diff --git a/example/barchart/main.cpp b/example/barchart/main.cpp index 148d48c..b83d3fe 100644 --- a/example/barchart/main.cpp +++ b/example/barchart/main.cpp @@ -47,8 +47,10 @@ int main(int argc, char *argv[]) //! [4] // Enable some features +// series->setToolTipEnabled(); +// series->enableFloatingValues(); series->setToolTipEnabled(); - series->enableFloatingValues(); + series->setFloatingValuesEnabled(); //! [4] //! [5] diff --git a/example/percentbarchart/main.cpp b/example/percentbarchart/main.cpp index aab3437..8667397 100644 --- a/example/percentbarchart/main.cpp +++ b/example/percentbarchart/main.cpp @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) //! [4] // Enable features series->setToolTipEnabled(); - series->enableFloatingValues(); + series->setFloatingValuesEnabled(); //! [4] //! [5] diff --git a/example/stackedbarchart/main.cpp b/example/stackedbarchart/main.cpp index 6c8754e..5751f6a 100644 --- a/example/stackedbarchart/main.cpp +++ b/example/stackedbarchart/main.cpp @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) //! [4] // Enable features series->setToolTipEnabled(); - series->enableFloatingValues(); + series->setFloatingValuesEnabled(); //! [4] //! [5] diff --git a/src/barchart/qpercentbarseries.cpp b/src/barchart/qpercentbarseries.cpp index a1327b1..15bfe9f 100644 --- a/src/barchart/qpercentbarseries.cpp +++ b/src/barchart/qpercentbarseries.cpp @@ -12,21 +12,6 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \mainclass - Example on how to create category: - \snippet ../example/barchart/main.cpp 1 - - Example on how to create sets of data: - \snippet ../example/barchart/main.cpp 2 - - Example on how to add sets to bar chart: - \snippet ../example/barchart/main.cpp 3 - - Example on how to enable tooltip and floating values: - \snippet ../example/barchart/main.cpp 4 - - Example on how to create view and apply theme: - \snippet ../example/barchart/main.cpp 5 - \sa QBarCategory, QBarSet, QStackedBarSeries, QBarSeries */ diff --git a/src/barchart/qstackedbarseries.cpp b/src/barchart/qstackedbarseries.cpp index dbffef5..31a0d53 100644 --- a/src/barchart/qstackedbarseries.cpp +++ b/src/barchart/qstackedbarseries.cpp @@ -12,21 +12,6 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE \mainclass - Example on how to create category: - \snippet ../example/barchart/main.cpp 1 - - Example on how to create sets of data: - \snippet ../example/barchart/main.cpp 2 - - Example on how to add sets to bar chart: - \snippet ../example/barchart/main.cpp 3 - - Example on how to enable tooltip and floating values: - \snippet ../example/barchart/main.cpp 4 - - Example on how to create view and apply theme: - \snippet ../example/barchart/main.cpp 5 - \sa QBarCategory, QBarSet, QPercentBarSeries, QBarSeries */