Feature request #2111
let the user select the color ramp extreme colors
|Pull Request or Patch supplied:||Resolution:||invalid|
|Easy fix?:||No||Copied to github as #:||12171|
It would usefull (and I suppose it shouldn't be difficult) to let the user choose the color ramp extreme values, instead of having a hard coded red-green gradient.
I imagine two color selectors to pick the two colors before the creation of the ramp.
In qgis/src/app/qgsgraduatedsymboldialog.cpp, at line 314, there's a TODO note:
"// todo: These color ramps should come from a dropdown list"
These would be both very useful enhancements...
#1 Updated by Giovanni Manghi over 13 years ago
- Status changed from Open to Closed
- Resolution set to invalid
As far as I know is already possible: try add a color ramp of type "gradient" trough the style manager. Please reopen if I misunderstand the problem.
#2 Updated by Giovanni Allegri over 13 years ago
thanks for answering.
ok, I'm aware there's a style manager to do that, but how is it connected to the properties/symbology dialog? How can a user select the newly created ramp to be used with graduated symbolos?
#3 Updated by Giovanni Manghi over 13 years ago
using trunk, with the new symbology framework enabled, I see no problems using custom graduated ramps when doing a graduated symbology. Maybe I am missing something?
#4 Updated by Giovanni Allegri over 13 years ago
Ops, I didn't know it was so fresh in trunk. I have the revision 12167, on Windows, and my graduated symbol interface appears as in the image I attach...
So, I suppose there's something new/different in trunk now respect to the latest qgis-dev in osgeo4w...
#5 Updated by Giovanni Manghi over 13 years ago
this seems to me the old symbology framework. You have to enable the new one in the qgis options.
#6 Updated by Giovanni Allegri over 13 years ago
I had checked "Use new generation symbology for rendering", but I coudn't see differences. Maybe it isn't working for windows yet...
#7 Updated by Giovanni Manghi over 13 years ago
after enabling the new symbology it works only for newly added vectors, not for the ones already in your project
#8 Updated by Giovanni Allegri over 13 years ago
I was just writing you back. I've tried to do it, close and reopen the shapefile... but qgis crashes if the new simbology is set.
I will open a ticket addressed to the osgeo4w mantainers :)
#9 Updated by Giovanni Manghi over 13 years ago
do you have the qgis2google plugin enabled? I found that it interferes with thr new symbology when you try add a vector.
#10 Updated by Giovanni Allegri over 13 years ago
I were gone to bed :)
Great! Removing the google plugin solved the crashes, and now I can see the new symbology interface. But now I don't understand how to use my color ramps (created inside the style manager), as they don't appear in the color ramp combo.