Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
DevShare Downloads
Chart Colors Based on Data
Migrateduser
The example uses a static data source so you can run it as is. The reason for the two examples (HTML5 and non-HTML5) is because for HTML5 script is executed in the browser and does not have access. <br />
<br />
For non-HTML5 charts I created a persistent global variable in form of a hash map that sores the colors for each category.<br />
<br />
For HTML5 charts I created window variables that do the same (thanks Rob Murphy for the tip).
Find more posts tagged with
Comments
There are no comments yet