javascript - X axis title cutting off -


I tried to play with SVG dimensions but the text is cutting the code for X-X: < .atr ("class", "x axis")

.attr ("transform", "translate (0," + " Height + ").) .Append (" text ") .attr (" x ", width / 2) .attr (" y ", margin.bottom + 5). Style ("text-anchor", "medium"). Style ("font size", "150%"). Text ("Age in years");

How can I fix this?

Define the margin down variable

but that does not work.

When I added +10 in this line + .attr ("height", height + margin.top + margin.bottom + 10) .

It's just displaying well.



Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -