Hello,
I have a Chart use case , but have been unable to find what I need reading through all of the chart related posts and Highchart api’s. I have a simple sales pipeline funnel chart to represent the Opportunity Stages. I have customized with a short snippet and added 4 styling colors in action framework.
The execs want the Stages to remain the same color regardless of the data results:
stage1 should always be blue
stage2 should always be yellow etc etc
I have tried to implement Rob’s snippet https://community.skuid.com/t/have-certain-colors-represent-certain-values-in-charts, but is not working for the funnel chart. I am currently using the snippet below to show data label values, and need to add in the color per stage (series) code. If this can’t be accomplished, are there any workarounds to achieve this? Would be great if the Salesforce assigned stage colors were in Skuid metadata. Any help or examples would be greatly appreciated. My current data value snippet that I need to add this to is below. Thanks
var chartObj = arguments[0],
$ = skuid.$;
$.extend(true, chartObj.plotOptions,{
funnel: {
dataLabels: {
format: “${point.y:,.0f}.00”,
enabled: true,
color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) || ‘black’,
}
}
});
Question
Funnel Chart series data color
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
