Feature request #2369
Cannot change column for existing graduated (or categorized) symbology
|Pull Request or Patch supplied:||Resolution:||fixed|
|Easy fix?:||No||Copied to github as #:||12429|
Once a layer has been classified (or categorized I think), you cannot change which column the classification applies to. It is common to want to use the same categories or ranges (with your custom symbols) on different types of data, or to load a previously saved set of ranges with symbols and apply them to a new layer with different column names.
#1 Updated by Chris Crook over 10 years ago
Also found this is a problem. Looks like it was considered in the code (there are commented out connections signals when the data columns is changed, though there is no corresponding slot coded that I can see (qgsgraduatedsymbolrendererv2widget.cpp).
I think that this is a necessary use-case - setting up classification ranges and symbology can take significant user input and it is reasonable to want to change the symbology to use a different columns (typically in a cross-tab type data set, with columns for a number of different, equivalent items)
Currently workaround is to save the project, edit the column name in the .qgs project file, and reload.