Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Line Chart doubts
HPP
hi
Am using line chart, in that i have added suffix '%' to all the graph values, but for certain values i have to remove the '%' .
Is there anyway to do that.
Pls help its bit emergency
Find more posts tagged with
Comments
mwilliams
You can edit the data point label in the beforeDrawDataPointLabel function in the chart script.
HPP
but i have to that dynamically, moreover i could't get u which u r tellng me to change? pls tell me in detail
mwilliams
What reason do you remove the %? Specific series values? Or specific category values? Let me know, I'll write a simple script that should work for you dynamically.
HPP
specific category values should not get %
mwilliams
In the beforeDrawDataPointLabel function in your chart script, you'd just put something in like:
if (dph.getBaseDisplayValue() == "yourCriteria"){
label.getCaption().setValue(label.getCaption().getValue().replace("%",""));
}
That should do what you're wanting.