Skip to content

-LegendPosition parameter requires lower case argument in New-ChartLegend function (case sensitivity) #283

@n8-mills

Description

@n8-mills

I developed a solution using one of the "charts" examples, playing with the -LegendPosition parameter by inputting "Right" broke the chart output. After some trial and error it became clear that -LegendPosition is case sensitive. I recommend including .ToLower() for this parameter within the New-ChartLegend function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions