fperucic / treant-js

Treant.js - javascript library for drawing tree diagrams
MIT License
864 stars 314 forks source link

Chart horizontally aligned #106

Open MrDarkest opened 6 years ago

MrDarkest commented 6 years ago

There's a way to align the whole chart on the left inside the container? I have a chart with the rootOrientation property set to "WEST" and I'd like that the root element had always the same distance fron the left margin of the container. Is it possible? Thanks.

florenperetti commented 4 years ago

You can change deltaX here to 0 to align the tree to the left.