Removed display of selected index with incorrect value on bar chart.
This commit is contained in:
parent
856f39c123
commit
dc04a1afdb
|
@ -143,10 +143,12 @@ void BarChartView::paintSelectedXIndex(
|
||||||
_lastSelectedXIndex = selectedXIndex;
|
_lastSelectedXIndex = selectedXIndex;
|
||||||
_lastSelectedXProgress = progress;
|
_lastSelectedXProgress = progress;
|
||||||
|
|
||||||
if (_isStack) {
|
if ((_lastSelectedXIndex < 0) && (was < 0)) {
|
||||||
if ((_lastSelectedXIndex >= 0) || (was >= 0)) {
|
return;
|
||||||
BarChartView::paintChartAndSelected(p, c);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_isStack) {
|
||||||
|
BarChartView::paintChartAndSelected(p, c);
|
||||||
} else {
|
} else {
|
||||||
const auto linesFilter = linesFilterController();
|
const auto linesFilter = linesFilterController();
|
||||||
auto hq = PainterHighQualityEnabler(p);
|
auto hq = PainterHighQualityEnabler(p);
|
||||||
|
|
Loading…
Reference in New Issue