Skip to content

add script tag to New-PSHTMLChart so end user doesn't have to add it anymore #255

@Stephanevg

Description

@Stephanevg

Currently, when New-PSHTMLChart is used, a user must surround with a script tag

script -Content {
   Write-pshtmlChart -plop bla -ble
}

The idea of this story, is to integrate automatically the script tag in the Write-pshtmlchart function as this is actually an unecessary step.

We will most likley need to add a -ChartID to the new-PSHTMLChart function out of which we can generate the script tag ID using a format similar to this one: script_$ChartID (Open for suggestins)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ChartsAdd support for chartsenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions