Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.2
-
None
Description
In a QChart with a QBarCategoryAxis attached, after having set some category names with axis->setCategories(...), they aren't actually cleared after calling axis->clear() as they are supposed to be.
Calling axis->setCategories({}) (with empty list) produces the same result (visually), at least in an otherwise empty chart.
As a workaround, xAxis->setCategories({""}) produces the desired result.
See attachements for minimal working example.