summaryrefslogtreecommitdiffstats
path: root/src/themes/chartthemebluencs_p.h
diff options
context:
space:
mode:
authorMichal Klocek <Michal.Klocek@digia.com>2012-11-16 13:21:46 +0200
committerMichal Klocek <Michal.Klocek@digia.com>2012-11-26 14:58:47 +0200
commit1c49aa901cb25b0bbdeb4922784fec273b97e781 (patch)
tree21469c4bf6070f109cb4dc12472f641c37644674 /src/themes/chartthemebluencs_p.h
parentb1616762bd1e13608c1040c543e909698670b519 (diff)
Refactors internals
* rewrite axisUpdated signal handling * create handlers for each property of axis * decouple chartdataset, presenter, theme * adds theme manager * adds axis add/remove/attach/detach handling * refactors createGraphics * add initializers (graphics,domain,theme,animations) * refactor the way the charts are constructed (decouple form presenter) * fix initialization issues with qchart * refactor domain logic to handle also geometry size for charts * delegate xyseries geometry calculation to domian * fix lazy initialization of animations * remove hadnleGeomoetryChanged * add shared pointers to handle reference count for domain * moves nice number algorithm to domain * adds applyNiceNumbers(), depreciate setNiceNumbers * refactor multiple charts handling * domain is shared object * each domain can have multiple axis for controlling * multiple charts share now the same domain
Diffstat (limited to 'src/themes/chartthemebluencs_p.h')
-rw-r--r--src/themes/chartthemebluencs_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/themes/chartthemebluencs_p.h b/src/themes/chartthemebluencs_p.h
index c42c0315..a52b5ea1 100644
--- a/src/themes/chartthemebluencs_p.h
+++ b/src/themes/chartthemebluencs_p.h
@@ -45,7 +45,7 @@ public:
m_seriesColors << QRgb(0x88d41e);
m_seriesColors << QRgb(0xff8e1a);
m_seriesColors << QRgb(0x398ca3);
- generateSeriesGradients();
+ m_seriesGradients = ChartThemeManager::generateSeriesGradients(m_seriesColors);
// Background
QLinearGradient backgroundGradient;