Generates a Mermaid XY bar/line chart for the values of a series of properties.
Export-MermaidXY.ps1 [[-LabelProperty] <String>] [[-LineProperty] <String[]>] [[-BarProperty] <String[]>]
[[-Title] <String>] [[-XAxisLabel] <String>] [[-YAxisLabel] <String>] [[-InputObject] <PSObject>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]
Get-Item Save-*.ps1 |Export-MermaidXY.ps1 -Title "Save scripts" -Units bytes -LabelProperty Name -BarProperty Length
xychart-beta title “Save scripts” x-axis “” [Save-PodcastEpisodes.ps1, Save-Secret.ps1, Save-WebRequest.ps1] y-axis “bytes” 0 –> 3239 bar “Length” [2754, 3239, 3112]
The property to use as labels on the X axis.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Properties to use to render a line graph.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: @()
Accept pipeline input: False
Accept wildcard characters: False
Properties to use to render a bar graph.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: @()
Accept pipeline input: False
Accept wildcard characters: False
A title for the chart.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The label for the X axis.
Type: String
Parameter Sets: (All)
Aliases: Domain, Progression
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The label for the Y axis.
Type: String
Parameter Sets: (All)
Aliases: Range, Units
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The objects with the specified properties.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.