This is a migrated thread and some comments may be shown as answers.

How to handle short bars in bar chart

3 Answers 42 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Eric
Top achievements
Rank 1
Eric asked on 08 Nov 2011, 11:24 PM
I've got a bar chart in which some of the bars are very short, so short I can't click on them, how are you guys handling this issue?

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 12 Nov 2011, 03:42 PM
Hello Eric,

You may consider using a logarithmic Y axis scale, in case you have data with a big range. This way there would not be any bars that are too small and the visual representation of the data would be much clearer as well. You can find more information on the feature in this help topic and also in our Logarithmic Scale demo example.

All the best,
Nikolay
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Eric
Top achievements
Rank 1
answered on 14 Nov 2011, 06:32 PM
I'll look at the logarithmic scale. 

Is it possible to make the chart labels clickable so they have the same behavior as clicking on the bar?
0
Nikolay
Telerik team
answered on 17 Nov 2011, 09:58 AM
Hi Eric,

Yes, it is possible to make the item labels clickable. You would have to create a style for the SeriesItemLabel that sets the IsHitTestVisible property to true. This approach is demonstrated in the attached application.

Hope this helps.

All the best,
Nikolay
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Eric
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Eric
Top achievements
Rank 1
Share this question
or