-
Notifications
You must be signed in to change notification settings - Fork 14
Plugin_DataLabels
Plugin_DataLabels
This class contains the properties related to the chart.js datalabels plugin script.
The following sections contain a detailed description of the properties and methods.
Calling this method saves the datalabels plugin in the path of the database.
BAC.Scripts.Plugin_DataLabels.SavePluginToDisk
--
With this property you pass the url of the cdn of the datalabels plugin.
https://cdn.jsdelivr.net/npm/chartjs-plugin-colorschemes
BAC.Scripts.Plugin_DataLabels.CDN = "https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@0.7.0"
With this property you pass the path to the datalabels plugin.
CurrentProject.Path & "\chartjs-plugin-datalabels.min.js"
BAC.Scripts.Plugin_DataLabels.PathFilename = CurrentProject.Path & "\chartjs-plugin-datalabels.min.js"
With this property you can specify where the file for the datalabels plug-in is located.
Possible values are:
- CDN
- LocalFile
When you choose "CDN" then the url in the property CDN is inserted to the html file.
When you choose "LocalFile" then the path and file name in the property PathFilename is inserted to the html file.
CDN
BAC.Scripts.Plugin_DataLabels.Source = chScriptSource.CDN