Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

MS Charting in Powershell

$
0
0

Hi there,

I am trying to create a chart for the first time and don't seem to have the libraries installed to do it. When I try and run a chart command I get errors like below. Can you tell me what I am missing please? I was under the impression that ms charting is installed as part of .net Framwrork 4?

I am using Powershell on Windows 7 x64 with .Net Framwork 4 installed

PS C:\temp> New-object System.Windows.Forms.DataVisualization.Charting.Chart
New-Object : Cannot find type [System.Windows.Forms.DataVisualization.Charting.Chart]: make sure the assembly containin
g this type is loaded.
At line:1 char:11
+ New-object <<<<  System.Windows.Forms.DataVisualization.Charting.Chart
    + CategoryInfo          : InvalidType: (:) [New-Object], PSArgumentException
    + FullyQualifiedErrorId : TypeNotFound,Microsoft.PowerShell.Commands.NewObjectCommand

Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>