I have successfully created a basic XYChart using amcharts4.
To get rid of the grid lines on the x-axis, I changed the stroke opacity for the x-axis grid to 0 using the following code:
xAxis.renderer.grid.template.strokeOpacity = 0;
Everything was working fine until I noticed that when the data includes a very small value, an additional grid line is displayed. It seems like this line represents the zero value.
Does anyone know why this is happening and how I can hide this extra line as well?
You can see the chart in action on CodePen