RAVI THEJA GOALLA Posted March 30, 2021 Share Posted March 30, 2021 I have a graph consisting of 2 stacked bars(dollar value) and 1 line(percentage) on top of the stacked bar. I am using this code to display the value on top of stacked bars and separate percentage for a line. But it is displaying line in $ value which is supposed to be percentage. For line to display value in percentage: series: 1, marker: { visible:true, shape:rectangle, size: 8, fillEffect:100%, }, }, { dataLabels: { visible: true, content: auto, font: bold 7.5pt Sans-Serif, numberFormat: function(n){ num = n.toFixed(1); return num + %; } For displaying Stacked totals: blaProperties: { seriesLayout: stacked, stackTotalLabel: { visible:true, position:top, font: 8pt TREBUCHET MS, bold, numberFormat: function(n){ num = n.toFixed(1); return $ + num ; } }, }, I will be needing output where we get stacked total for bars and line as percentage. Thanks for the help! Link to comment Share on other sites More sharing options...
Manoj Chaurasia Posted April 5, 2021 Share Posted April 5, 2021 Ravi Welcome to myibi Usually you will get answers to your questions but in this case you must have stumped everyone. If this is still an issue for you please open a case with techsupport. If you have solved it yourself please post your solution so others can benefit from it. Thanks! Link to comment Share on other sites More sharing options...
Douglas Lee 2 Posted June 28, 2021 Share Posted June 28, 2021 That sounds like something useful Has a solution been provided Please post that if available. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now