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

Restrict the Dimensions of the SVG and Paths

1 Answer 107 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sam
Top achievements
Rank 1
Sam asked on 15 Oct 2011, 10:02 PM
I am having trouble constraining the dimensions of a line graph to the parent div.  For some it works fine, but for charts with more data values along the x-axis, the svg is fed pixel dimensions greater than the dimensions of its parent.  The same is true for the path dimensions.  This creates overflow in both x and y.  Is there a way to force the svg and various paths to scale to the dimensions of the parent div?

Thanks for your help.

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 17 Oct 2011, 07:25 AM
Hello Sam,

We'll do our best to investigate the issue and fix it, but we need more details. Can you please send us specific chart configuration and series values that cause this overflow?

All the best,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Sam
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or