CDavidOrr
03-09-2023Cloud Apps
Accessing Color Palette from Script
Does anyone know if you can access the color pallet that a dashboard is using from a widget's script?
I am adding some color to some of the cells in a pivot. I'd like to use the first color in the current color palette so that if the color palette changes, this pivot will change also. I currently have the color hard coded but would like to make it dynamic.
Thanks.
Hey CDavidOrr,
You can use this property to get dashboard pallet:prism.activeDashboard.style.options.palette
Always here to help,
Alek from QBeeQ
[email protected]
QBeeQ - Gold Implementation and Development Partner
www.qbeeq.io