-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Description
I'm trying to create a stacked bar chart with most functionality like yaxis labels, data hover etc. being disabled.
However, the chart area occupies more space in height than it needs to have, there is an extra padding on top. In the SVG, I see that the svg part of apexcharts-graphical is translated to the right and from the top.
If I want to show the graph in a very tight layout constraint I will have to translate the chart back to negative y.
Is there a way to display the stacked chart area on the top left corner?
Steps to Reproduce
- Run the code codepen example on https://codepen.io/stephansteiner/pen/zxvEMrJ
- See the red border
- There is extra padding on top of the chart, making it difficult to align in a layout
Expected Behavior
Since y axis and all visible interaction is disabled by options, the chart should be aligned on the top.
Actual Behavior
The chart is centered horizontally (I can live with that), but there is some extra padding on top.
Screenshots
Reproduction Link
Codepen example: https://codepen.io/stephansteiner/pen/zxvEMrJ