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

Series Label Color over Different Background

1 Answer 22 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
License
Top achievements
Rank 1
License asked on 07 Jan 2015, 07:04 PM
I have a Column Series with a label overlay that can be hard to read if the graph range is too large and the amount of a particular column too small. As you can see in the attached image, if the value is $0 then I am not displaying the label at all, otherwise it will show. The problem is this graph range can be very large and some of the column can be very short, leaving the label hanging out above the column.

What I'd like to do is have the text invert colors based on what color it overlays or (probably a much simpler solution) just determine the the height of the column and change the text color manually if it's below a certain height or height percentage.

I understand this is a longshot and the solution is probably far too complicated to even put the effort into implementing so a third option would be adding a background color to just the label.

Any help is appreciated.

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 08 Jan 2015, 08:03 AM
Hi Robert,

Take a look at the logarithmic y-axis functionality.

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart (HTML5)
Asked by
License
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or