Command
New-MapLegendSlice
Creates a new map legend slice.
Syntax
New-MapLegendSlice [[-DisplayInLegend] <Nullable`1>] [[-FillColor] <String>] [[-HoverFillColor] <String>] [[-HoverStrokeWidth] <Nullable`1>] [[-HoverTransform] <String>] [[-InitializeClicked] <Nullable`1>] [[-Label] <String>] [[-MaximumValue] <Nullable`1>] [[-MinimumValue] <Nullable`1>] [[-Size] <Nullable`1>] [[-StrokeWidth] <Nullable`1>] [[-Transform] <String>] [-Type] <area|plot> [[-Value] <Nullable`1>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
This function creates a new map legend slice with specified parameters.
Examples
EXAMPLE 1
New-MapLegendSlice -Label "Slice 1" -FillColor "Blue" -MinimumValue 0 -MaximumValue 100 -DisplayInLegend $trueParameters
- -DisplayInLegend Nullable`1
- Specifies whether to display the slice in the legend. Default is true.
- -FillColor String
- The color to fill the slice with.
- -HoverFillColor String
- -HoverStrokeWidth Nullable`1
- -HoverTransform String
- -InitializeClicked Nullable`1
- Set to true to initialize the legend item in the 'clicked' state on map load. Default is false.
- -Label String
- The label of the slice for the legend.
- -MaximumValue Nullable`1
- The maximum value for the interval defining the slice.
- -MinimumValue Nullable`1
- The minimum value for the interval defining the slice.
- -Size Nullable`1
- -StrokeWidth Nullable`1
- -Transform String
- -Type Object
- Possible values:
area,plot - -Value Nullable`1
- The fixed value for the slice. Use this instead of 'MinimumValue' and 'MaximumValue' to set a specific value.
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.