HtmlForgeX

API Reference

Command

New-HtmlXChartBar

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.ApexCharts

Adds a bar chart data point to the current chart.

Remarks

Use inside New-HtmlXChart { }.

Examples

Imported script example

New-HtmlXChartBar -Name "Q1" -Value 120
        

New-HtmlXChartBar -Name "Q2" -Value 180
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXChartBar [-Name <string>] [-Value <double>] [<CommonParameters>]
#

Parameters

Name string optionalposition: namedpipeline: false
Category label for the bar.
Value double optionalposition: namedpipeline: false
Numeric value for the bar.

Outputs

HtmlForgeX.ApexCharts