mercredi 3 décembre 2014

amCharts: dynamically changing bullet color


Vote count:

0




I'm using AmChart for making a line chart. I want to dynamically change the color of the bullet (bulletColor) according to the y-values. So for example:


Default bulletcolor: green With a value above 103% the color of the bullet should be orange With a value above 105% the color of the bullet should be red.


I noticed there are customfields that take data from the json for 'bulletSizeField' and 'bulletField'(custom bulletpicture) but I can't find if the same is possible for changing only the color of the bullet. Does anybody know if there's a way to accomplish this result? (either in AmChart itself or get the colordata from the jsonfile like with 'BulletField').



asked 2 mins ago







amCharts: dynamically changing bullet color

Aucun commentaire:

Enregistrer un commentaire