Graph Project: Auto-Sizing Works — The Easy Part

Today I got the main parts of the auto-sizing going again, though you can see it’s for the simple case when there is never more than one axis on a side (the support is there, I just haven’t finished the implementation for that case) and where major ticks always fall on the end of each axis. Handling major ticks that don’t fall on the end of axes is probably the most complex case.

I appear to have a one-pixel overlap with the main graph label and the x-axis in the high position, but you can see that the bottom margin is set based on the larger of the overflows from the y-axes on the left and right sides.

So far, so good.

This entry was posted in Tools and methods and tagged , . Bookmark the permalink.

Leave a Reply