I can't make a right legend by d3.js -


this result belowing:

results

but want put every bars this:

enter image description here

and follow belowing major code legend:

enter image description here

the traditional (and versatile) way creating such legends among d3 community using <text> , <rect> svg elements (which can position way want). once you're using html <li>, try 1 of these 2 approaches in css:

li {     display: inline; } 

or

li {     float: left; } 

Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -