Apexcharts.js: Column chart cuts off start and end.

Created on 16 Jun 2020  路  5Comments  路  Source: apexcharts/apexcharts.js

Bug report

Columns get cut off at the start and end of the chart. This is using multi chart with 4 columns and 1 line.

Codepen

https://codepen.io/CSondergaard/pen/VweKBQw

bar bug

All 5 comments

I have the same problem with a similar chart

Codepen:
https://codepen.io/liztra/pen/rNxmyKr

I had this problem as well. I discovered that if you change the chart type from "line" to "bar", it renders correctly. The example in the documentation shows the chart type as "line", but that seems to be incorrect.

My resolution was to include the parameter stacked = false

chart: {
fontFamily: 'Nunito, sans-serif',
height: 350,
type: 'line',
stacked: false

This is still an ongoing issue in the latest release for react-apexcharts. Codepen: https://codepen.io/l1qu1d1c3/pen/eYBWWWW

A possible solution is modifying the xaxis tickPlacement to _between_ , BUT, it disables the toolbar....

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ismaildervisoglu picture ismaildervisoglu  路  3Comments

jeroenpol picture jeroenpol  路  3Comments

jlil picture jlil  路  3Comments

frlinw picture frlinw  路  3Comments

ordago picture ordago  路  3Comments