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

Navigator display problem with negative values

2 Answers 54 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 15 May 2013, 12:13 PM
Hi there,

I'm using he StockChart for displaying a line chart on top of the navigator. It generally works well, but when there are negative values within my Json data, the navigator doesn't mask the unselected data correctly and it overlaps the labels below. What can I do about it? Please see the attached images for an example.

Regards,
Robert

2 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 16 May 2013, 12:40 PM
Hello Robert,

In this case I will suggest you to set padding top to the labels of the category axis. For example:

....
navigator: {
   categoryAxis: {
      labels: {
         padding: { top: 10 }
      }
   }
...
}
...

Regards,
Hristo Germanov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Robert
Top achievements
Rank 1
answered on 17 May 2013, 06:40 AM
Thanks, that did it!
Tags
Charts
Asked by
Robert
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
Robert
Top achievements
Rank 1
Share this question
or