{"id":566,"date":"2016-04-05T18:51:28","date_gmt":"2016-04-05T23:51:28","guid":{"rendered":"http:\/\/rpchurchill.com\/?p=566"},"modified":"2017-02-04T17:26:17","modified_gmt":"2017-02-04T22:26:17","slug":"graph-project-auto-sizing-works-the-easy-part","status":"publish","type":"post","link":"https:\/\/rpchurchill.com\/wordpress\/posts\/2016\/04\/05\/graph-project-auto-sizing-works-the-easy-part\/","title":{"rendered":"Graph Project: Auto-Sizing Works &#8212; The Easy Part"},"content":{"rendered":"<p>Today I got the main parts of the auto-sizing going again, though you can see it&#8217;s for the simple case when there is never more than one axis on a side (the support is there, I just haven&#8217;t finished the implementation for that case) and where major ticks always fall on the end of each axis.  Handling major ticks that don&#8217;t fall on the end of axes is probably the most complex case.<\/p>\n<p>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.<\/p>\n<p>So far, so good.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.rpchurchill.com\/images\/articles\/multi-axes_auto-sized_easy.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I got the main parts of the auto-sizing going again, though you can see it&#8217;s for the simple case when there is never more than one axis on a side (the support is there, I just haven&#8217;t finished the &hellip; <a href=\"https:\/\/rpchurchill.com\/wordpress\/posts\/2016\/04\/05\/graph-project-auto-sizing-works-the-easy-part\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[76,84],"_links":{"self":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts\/566"}],"collection":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/comments?post=566"}],"version-history":[{"count":2,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts\/566\/revisions"}],"predecessor-version":[{"id":1525,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/posts\/566\/revisions\/1525"}],"wp:attachment":[{"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/media?parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/categories?post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rpchurchill.com\/wordpress\/wp-json\/wp\/v2\/tags?post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}