#2111 closed enhancement (invalid)
let the user select the color ramp extreme colors
Reported by: | giohappy | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.4.0 |
Component: | Symbology | Version: | Trunk |
Keywords: | color graduated symbol | Cc: | |
Must Fix for Release: | No | Platform: | All |
Platform Version: | Awaiting user input: | no |
Description
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...
Attachments (1)
Change History (11)
comment:1 by , 14 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 14 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?
comment:3 by , 14 years ago
hi,
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?
comment:4 by , 14 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...
comment:5 by , 14 years ago
this seems to me the old symbology framework. You have to enable the new one in the qgis options.
comment:6 by , 14 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...
comment:7 by , 14 years ago
after enabling the new symbology it works only for newly added vectors, not for the ones already in your project
comment:8 by , 14 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 :)
comment:9 by , 14 years ago
do you have the qgis2google plugin enabled? I found that it interferes with thr new symbology when you try add a vector.
comment:10 by , 14 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.
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.