{"id":7551,"date":"2015-07-26T05:13:05","date_gmt":"2015-07-26T05:13:05","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/07\/26\/how-to-disable-legend-in-nvd3-or-limit-its-size-open-source-projects-novus-nvd3\/"},"modified":"2015-07-26T05:13:05","modified_gmt":"2015-07-26T05:13:05","slug":"how-to-disable-legend-in-nvd3-or-limit-its-size-open-source-projects-novus-nvd3","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/07\/26\/how-to-disable-legend-in-nvd3-or-limit-its-size-open-source-projects-novus-nvd3\/","title":{"rendered":"How to disable legend in nvd3 or limit it&#39;s size-open source projects novus\/nvd3"},"content":{"rendered":"<p>I&#8217;m using nvd3 and have a few charts where the legend is much to large. E.g. a scatter\/bubble with 15 groups and the group names are long. The legend is so large that it leaves almost no room for the chart itself.<\/p>\n<p>Is there a way to remove the legend or toggle the legend or limit the height\/width it is taking up? Any example would be great.<\/p>\n<p>Also, is there a way to have the bubble show a descriptive string? Right now when you stand on top of a bubble it highlights the x\/y coordinates. I also want it to show the bubble name.<\/p>\n<p>For example, each of my bubbles represents a country (which has a name), the x is GDP and the y is debt. The group is a classification\/not name.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using nvd3 and have a few charts where the legend is much to large. E.g. a scatter\/bubble with 15 groups and the group names are long. The legend is so large that it leaves almost no room for the chart itself. Is there a way to remove the legend or toggle the legend or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7551","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7551"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7551\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}