[Fix #7405] Graduated renderer: Feature count 0 with scale or rotation
Merge pull request #592 from matthias-kuhn/fix-7405

[Fix #7405] Graduated renderer: Feature count 0 with scale or rotation