My powershell script inputs data into EXCEL worksheet
and I am trying to c
Based on my experience with VBA, it appears that the first thing to try is changing your chart type. You have $chart.chartType=$xlChart::xlBarClustered
. Based on the similar VBA commands, I would try changing this to $chart.chartType=$xlChart::xlLine
. That should make a big difference, and let you see what else needs to be tweaked.