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.
Thanks for your help.