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 |
Synopsis
- data LegendOptions = LegendOptions' {}
- newLegendOptions :: LegendOptions
- legendOptions_height :: Lens' LegendOptions (Maybe Text)
- legendOptions_position :: Lens' LegendOptions (Maybe LegendPosition)
- legendOptions_title :: Lens' LegendOptions (Maybe LabelOptions)
- legendOptions_visibility :: Lens' LegendOptions (Maybe Visibility)
- legendOptions_width :: Lens' LegendOptions (Maybe Text)
Documentation
data LegendOptions Source #
The options for the legend setup of a visual.
See: newLegendOptions
smart constructor.
LegendOptions' | |
|
Instances
newLegendOptions :: LegendOptions Source #
Create a value of LegendOptions
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:height:LegendOptions'
, legendOptions_height
- The height of the legend. If this value is omitted, a default height is
used when rendering.
$sel:position:LegendOptions'
, legendOptions_position
- The positions for the legend. Choose one of the following options:
AUTO
RIGHT
BOTTOM
LEFT
$sel:title:LegendOptions'
, legendOptions_title
- The custom title for the legend.
LegendOptions
, legendOptions_visibility
- Determines whether or not the legend is visible.
$sel:width:LegendOptions'
, legendOptions_width
- The width of the legend. If this value is omitted, a default width is
used when rendering.
legendOptions_height :: Lens' LegendOptions (Maybe Text) Source #
The height of the legend. If this value is omitted, a default height is used when rendering.
legendOptions_position :: Lens' LegendOptions (Maybe LegendPosition) Source #
The positions for the legend. Choose one of the following options:
AUTO
RIGHT
BOTTOM
LEFT
legendOptions_title :: Lens' LegendOptions (Maybe LabelOptions) Source #
The custom title for the legend.
legendOptions_visibility :: Lens' LegendOptions (Maybe Visibility) Source #
Determines whether or not the legend is visible.
legendOptions_width :: Lens' LegendOptions (Maybe Text) Source #
The width of the legend. If this value is omitted, a default width is used when rendering.