I want to open the discussion on adding Chartjs as asset directly in PSHTML.
The main reason I would like to add it directly, is to support cases where there is no internet connection, which will have as a consequence, that charting won't work when there is no internet connection.
I would see the implemetnation as follow:
1) Add only the necessary files Chart.min.js
2) in Folder PSHTML/Assets/ create a subfolder 'Charts'
3) Add a function to give the user the ability to easily add a link to the local Chart version. Perhaps something like 'Set-PSHTMLAsset' or so?
This issue has a dependency on the Configuration refactoring (Especially the Asset Factory).
I want to open the discussion on adding Chartjs as asset directly in PSHTML. The main reason I would like to add it directly, is to support cases where there is no internet connection, which will have as a consequence, that charting won't work when there is no internet connection.
I would see the implemetnation as follow: 1) Add only the necessary files
Chart.min.js
2) in Folder PSHTML/Assets/ create a subfolder 'Charts' 3) Add a function to give the user the ability to easily add a link to the local Chart version. Perhaps something like'Set-PSHTMLAsset'
or so?