style_set_graduated
Apply a graduated color ramp to a vector layer based on a numeric field, with options for classification mode and number of classes.
Instructions
Style a vector layer with a graduated color ramp over a numeric field.
mode is one of: quantile (default), equal_interval, natural_breaks,
std_dev, pretty. color_ramp is a QGIS style color ramp name (defaults
to "Spectral").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quantile | |
| field | Yes | ||
| classes | No | ||
| layer_id | Yes | ||
| color_ramp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||