-
-
Couldn't load subscription status.
- Fork 1.4k
Closed
Closed
Copy link
Description
Bug report
Using long labels on the x-axis add an extra gap between the y-axis and the chart: Here's a visual explanation:
Link to codepen: https://codepen.io/pvictor-r/pen/GRqjpNa
Code used:
var options2 = {
chart: {
height: 380,
width: "100%",
type: "bar"
},
series: [
{
name: "Series 1",
data: [2, 3]
}
],
xaxis: {
categories: ["Weekdays", "Saturday and Sunday"]
},
yaxis: {
axisBorder: {
show: true,
color: "#000"
}
}
};
var chart2 = new ApexCharts(document.querySelector("#chart2"), options2);
chart2.render();Thank you!
Victor
Metadata
Metadata
Assignees
Labels
No labels
