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)
Currently, when New-PSHTMLChart is used, a user must surround with a
scripttagThe 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-PSHTMLChartfunction out of which we can generate thescripttag ID using a format similar to this one:script_$ChartID(Open for suggestins)