Powershell to create line chart from EXCEL

后端 未结 3 1883
清歌不尽
清歌不尽 2021-01-23 10:23

My powershell script inputs data into EXCEL worksheet

\"enter

and I am trying to c

3条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-23 10:54

    Fancy stuff to avoid seeing unnecessary red lines (Exception setting "ChartType": "Unspecified error) all over:

    $chart.chartType = 4
    

    Detailed list of chart types and more information available here: http://learn-powershell.net/2012/12/24/powershell-and-excel-adding-a-chart-and-header-filter-to-a-report/

提交回复
热议问题