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)
Filter value labels displayed on bar chart.
moh
Hi All,
I trying to filter labels displayed on a bar chart.
On Y series values I display series labels inside bars ( percentile value data )
with format : ##.##%
Is it possible to not display the label when it is lower than a value,
because it's not visible when the value is to small (eg value lower than 5% ) ?
thanks for any help.
Find more posts tagged with
Comments
moh
attached is a sample screenshost.
thanks.
mwilliams
Hi moh,
Something like the following should hide the value series label if it's less than 5%.
function beforeDrawDataPointLabel( dph, label, icsc )
{
if (dph.getPercentileOrthogonalValue() < 0.05){
label.setVisible(false)
}
}
Hope this helps.
moh
It works,
thank's a lot.
mwilliams
No problem, glad to help!