##// END OF EJS Templates
floating value layout fix for barchart
sauimone -
r474:93c2b5b16561
parent child
Show More
@@ -74,7 +74,7 void PercentBarPresenter::layoutChanged()
74 74
75 75 // Position floating values
76 76 itemIndex = 0;
77 xPos = ((tW/tC) - mBarWidth / 2);
77 xPos = (tW/tC);
78 78 for (int category=0; category < mSeries->categoryCount(); category++) {
79 79 qreal yPos = h;
80 80 qreal colSum = mSeries->categorySum(category);
@@ -83,7 +83,7 void StackedBarPresenter::layoutChanged()
83 83
84 84 // Position floating values
85 85 itemIndex = 0;
86 xPos = ((tW/tC) - mBarWidth / 2);
86 xPos = (tW/tC);
87 87 for (int category=0; category < mSeries->categoryCount(); category++) {
88 88 qreal yPos = h;
89 89 for (int set=0; set < mSeries->barsetCount(); set++) {
General Comments 0
You need to be logged in to leave comments. Login now