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.
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.