paths-js icon indicating copy to clipboard operation
paths-js copied to clipboard

Horizontal bar support?

Open khanetor opened this issue 7 years ago • 1 comments

Would you support horizontal bar chart? This chart is good for anything related to progress tracking.

khanetor avatar Aug 01 '16 15:08 khanetor

The nice thing about SVG it that it supports arbitrary affine transformations. In particular, you can add the attribute transform=rotate(90) to a whole <g> element to make a vertical bar chart become horizontal. This is why I did not add it explicitly as an option.

Now, there is request to avoid the rotation for the tree chart as well, so I am thinking about adding a flag directly to the the charts

andreaferretti avatar Aug 02 '16 09:08 andreaferretti