I am trying to get the Y axis to show up (will add X axis later) but nothing is happening when I add the code. I’m trying to append a ‘g’ to the container with the graph in it (svgContainer) but I’m beginning to think I’m doing it wrong.
Update: I’ve now got the X axis to show up, while I was waiting for a response, but strangely I did this the same way I did the Y axis, but it isn’t working. Other problem is I can get the X axis to move side to side with transform, but I can’t seem to place it at the bottom.
Ok Welcome to my Blog I guess now. I figured out the X axis was because my SVG container object wasn’t big enough to have anything except the bars in it. I used a height constant for the container and then used the same to scale the height of the bar. I’ve now gone back and added 100 to the height, then I was able to move the axis to the bottom without moving it outside the SVG container. Trying that for the Y axis now.