SPJS Chart v5 – colorByLabel
- This topic has 3 replies, 2 voices, and was last updated 10 years, 5 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › SPJS Charts for SharePoint › SPJS Chart v5 – colorByLabel
HI Sir Alexander,
Just to bring to your attention on the option colorByLabel. I have a chart that the colorByLabel are fetch from the CHOICE field type.
The declared color is not applied as it is and it keep changing every time the page is refresh or loaded.
Thank you.
Hi Sir Alexander,
I noticed that I used the option colorByLabel in column chart and is working fine. When I use in pie chart it doesn’t work, but the below it works in pie chart only it ramdomly assign the colors to each legend. Like the color of High is showing in Low.
color {
“Low”: “#ffcd00”,
“Medium”: “#ffa300”,
“High”: “#e35205”
}
—–
Regards,
Hi,
I’m not sure I understand what you mean by
the colorByLabel are fetch from the CHOICE field type
Could you elaborate, and possibly add a screenshot?
Alexander