From 280b8126718aad21128df146636bc3df90d85715 2012-08-27 12:55:43 From: sauimone Date: 2012-08-27 12:55:43 Subject: [PATCH] turned animations on also on vertical barchart examples --- diff --git a/examples/barchart/main.cpp b/examples/barchart/main.cpp index 91c6a3f..97937e6 100644 --- a/examples/barchart/main.cpp +++ b/examples/barchart/main.cpp @@ -60,6 +60,7 @@ int main(int argc, char *argv[]) QChart* chart = new QChart(); chart->addSeries(series); chart->setTitle("Simple barchart example"); + chart->setAnimationOptions(QChart::SeriesAnimations); //![3] //![4] diff --git a/examples/percentbarchart/main.cpp b/examples/percentbarchart/main.cpp index 5b3a754..6da248c 100644 --- a/examples/percentbarchart/main.cpp +++ b/examples/percentbarchart/main.cpp @@ -59,6 +59,7 @@ int main(int argc, char *argv[]) QChart* chart = new QChart(); chart->addSeries(series); chart->setTitle("Simple percentbarchart example"); + chart->setAnimationOptions(QChart::SeriesAnimations); //![3] //![4] diff --git a/examples/stackedbarchart/main.cpp b/examples/stackedbarchart/main.cpp index d2774ce..854c931 100644 --- a/examples/stackedbarchart/main.cpp +++ b/examples/stackedbarchart/main.cpp @@ -59,6 +59,7 @@ int main(int argc, char *argv[]) QChart* chart = new QChart(); chart->addSeries(series); chart->setTitle("Simple stackedbarchart example"); + chart->setAnimationOptions(QChart::SeriesAnimations); //![3] //![4]