< Back

New-Chart

Tue Jan 14, 2020 2:35 am

NAME New-Chart



SYNOPSIS

Creates a new ChartData for New-Report





SYNTAX

New-Chart [[-ChartType] {LineChart | PieChart | ColumnChart | BarChart | AreaChart | ScatterChart | GeoChart |

Timeline}] [-Title] <String> [[-Description] <String>] [-InputObject] <PSObject> [[-Emphasis] {default | primary |

success | info | warning | danger}] [<CommonParameters>]





DESCRIPTION

Collects ChartData for New-Report.

ChartData should be in specific shapes in order to work properly, but it depends somewhat on the chart type you're

trying to create (LineChart, PieChart, ColumnChart, BarChart, AreaChart, ScatterChart, GeoChart, Timeline). There

should be examples for each in the help below...





PARAMETERS

-ChartType

Chart Type



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Title <String>

A title that goes on the top of the table



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Description <String>

Description to go above the table



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-InputObject <PSObject>

Data for the table (can be piped in)



Required? true

Position? 4

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Emphasis

Emphasis value: default (unadorned), primary (highlighted), success (green), info (blue), warning (yellow),

danger (red)



Required? false

Position? 5

Default value default

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES





TODO: Write examples...





RELATED LINKS





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=New-Report; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

New-Report [[-Template] <string>] [[-Title] <string>] [[-Description] <string>] [[-Author]

<string>] [[-InputObject] <Object>] [<CommonParameters>]



ModuleName : HtmlReport

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : New-Report

Category : Function

Component :

Role :

Functionality :