How to plot different colors to different data labels background or data labels colors based on data label value? #4582
GantaVenkataKousik
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
dataLabels: {
enabled: true,
style: {
fontSize: '12px',
fontFamily: "'Gantari', sans-serif",
},
background: {
enabled: true,
formatter: function (value) {
if (value > parseFloat(biomarkerInfo.highRange))
return 'hsl(0 100% 60%)'
if (value < parseFloat(biomarkerInfo.lowRange))
return 'hsl(40 100% 62%)'
},
},
dropShadow: {
enabled: true,
},
},
Beta Was this translation helpful? Give feedback.
All reactions