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

Charts plotarea size

1 Answer 55 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Walid
Top achievements
Rank 1
Walid asked on 26 Oct 2016, 12:23 PM

We want to do some calculations to determine if the axis labels and legend box of the chart should be displayed based on the plot area size(check blue highlighted areas on attached image).
Is there any way to get the size/dimensions for that element?

 

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 28 Oct 2016, 07:42 AM
Hello,

It is possible to find the size from the axes or from the plotarea background(example) but only after the initialization so you will need to redraw the chart if some option should be changed depending on the size.

Regards,
Daniel
Telerik by Progress
 
Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
 
Tags
Charts
Asked by
Walid
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or