Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
how to fade out certain axis labels
m73
Hi
I've got a report including a bar chart in which certain X-Labels should not be displayed in dependence of the related series-value.
For example, I'd like to display the labels for all bars having a value > 20.
How to do this using JavaScript?
Thanks for any help!
best regards
Find more posts tagged with
Comments
mwilliams
Hi m73,
Are you wanting to just hide the label if the value is below 20, or not chart the point at all if it's below 20?
m73
Hi Michael,
Thanks for your reply!
I just want to hide some labels of the x-axis (category). The series I want to display in the bar chart is very large, so I just wanna display the labels of the most important ones, because there is not enough space to show all of them.
I guess, first I have to iterate through my data-set and have to turn off all labels whose value is smaller as my threshhold....but I really don't know how to do this.
mwilliams
m73,
Here's one way to do it. This example hides the x-axis label if the customer's credit limit is less than 140000.
This example was created in BIRT 2.3.2 with the sample database.
m73
Hi Michael,
thanks a lot, It's very helpful....
mwilliams
m73,
No problem. Glad I could help. Let us know whenever you have questions.