I want to style my Data in a Categorized Style, with a Color Ramp according to a "Year". But when I categorize my Data, QGIS creates a Categorie without a Value. Thats a problem for my work, becuase my color ramp is starting and ending at a specific color. So in my map there is the wrong color for the latest year. So in my example picture 2017 must get the darkest green, and the other years would be a little bit darker then. Is there an opportunity to tell QGIS ist should not create a categorie without a Value?
-
2Does your dataset contain one / multiple records with missing "values" in the attribute field (that you choose for display)?– Greg ZCommented May 30, 2017 at 10:35
-
no, every feature does have a Value in this field.But Joseph's solution is working fine for me. thx– RikerCommented May 30, 2017 at 11:39
Add a comment
|
1 Answer
I believe this is a standard QGIS behavour where all features are given a colour (including those without values in a selected field). What you can do is:
- Remove the last symbol.
- Change the Colour ramp to any other colour.
- Choose the same green colour ramp again
This should reset your existing colours and set 2017 to be the darkest colour.
Do not click Classify.
-
-
1@Riker please, remember accepting the answer if it solved your problem: it will help future readers.– mgriCommented May 30, 2017 at 12:30