-
Im getting2 issues
Am I doing some thing wrong? I'm attaching 3 screenshots for reference. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
When there's no data, ApexCharts puts up a default grid with 10 lines. It does this also when you collapse all data series. You could try adding showAlways: true to [at least one of] your yaxis config. ApexCharts doesn't draw the grid according to the label's displayed string, but the real underlying value. The labels appear duplicated because they're rounded to integers. Set decimalsInFloats: 1 in your yaxis config and I suspect you'll see the values change to 0, 0.5, 1.0, 1.5. Normally this is automatic but if your data is all integers it will round the tick labels integers as well. |
Beta Was this translation helpful? Give feedback.
-
When I suggested to try After looking at the code, I see this chart. When I play around with it, it doesn't seem to be running any version of ApexCharts I configure, eg, the number of ticks displayed for no data is 5, not 10. It behaves as though it's running version 3.45.2 even after I set apexcharts@3.48.0 explicitly. Again looking at the code in detail wrt these issues, I'm reasonably sure the behaviour that you're expecting can't be achieved [through config options]. Here is what is designed to happen in your case:
|
Beta Was this translation helpful? Give feedback.
-
Push request #4363, hopefully, addresses the default grid question. |
Beta Was this translation helpful? Give feedback.
Push request #4363, hopefully, addresses the default grid question.