Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ColorScale Source #
Determines the color scale that is applied to the visual.
See: newColorScale
smart constructor.
ColorScale' | |
|
Instances
:: NonEmpty DataColor | |
-> ColorFillType | |
-> ColorScale |
Create a value of ColorScale
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nullValueColor:ColorScale'
, colorScale_nullValueColor
- Determines the color that is applied to null values.
$sel:colors:ColorScale'
, colorScale_colors
- Determines the list of colors that are applied to the visual.
$sel:colorFillType:ColorScale'
, colorScale_colorFillType
- Determines the color fill type.
colorScale_nullValueColor :: Lens' ColorScale (Maybe DataColor) Source #
Determines the color that is applied to null values.
colorScale_colors :: Lens' ColorScale (NonEmpty DataColor) Source #
Determines the list of colors that are applied to the visual.
colorScale_colorFillType :: Lens' ColorScale ColorFillType Source #
Determines the color fill type.