<< Zum Inhaltsverzeichnis >> Navigation: OLE Automation > Application > Methods > SpaceObServer.Application.ChartExport |
Description
Exports one of graphs shown in SpaceObServer into a graphic file.
Syntax
ChartExport (ExportPath : <String>, ChartType : <String>)
Parameters
ExportPath |
The full path of the export file (including the exported file name). |
||||||||||||||||||||||
ChartType |
Defines the chart type to be exported. Available chart types are:
|
Example
1.)
$SOS.ChartExport("C:\Temp\SOS\barchart.bmp", "barchart") #PowerShell
SOS.ChartExport "C:\Temp\SOS\barchart.bmp", "barchart" 'VBS
Exports the bitmap graphic of a bar chart to "C:\Temp\SOS\barchart.bmp".
2.)
$SOS.ChartExport("C:\Temp\SOS\piechart.jpg", "piechart") #PowerShell
SOS.ChartExport "C:\Temp\SOS\piechart.jpg", "piechart" 'VBS
Exports the JPEG graphic of a pie chart to "C:\Temp\SOS\piechart.jpg".
3.)
$SOS.ChartExport("C:\Temp\SOS\historychart.gif", "historychart") #PowerShell
SOS.ChartExport "C:\Temp\SOS\historychart.gif", "historychart" 'VBS
Exports the graphic of a history chart to "C:\Temp\SOS\historychart.gif".
4.)
$SOS.ChartExport("C:\Temp\SOS\ageoffileschart.png", "ageoffileschart") #PowerShell
SOS.ChartExport "C:\Temp\SOS\ageoffileschart.png", "ageoffileschart" 'VBS
Exports the graphic of a age of files chart to "C:\Temp\SOS\ageoffileschart.png".
5.)
$SOS.ChartExport("C:\Temp\SOS\sizeoffileschart.jpeg", "sizeoffileschart") #PowerShell
SOS.ChartExport "C:\Temp\SOS\sizeoffileschart.jpeg", "sizeoffileschart" 'VBS
Exports the graphic of a size of files chart to "C:\Temp\SOS\sizeoffileschart.jpeg"