Closed Hasan-aga closed 1 year ago
I found the solution thanks to this reply on a previous issue. I simply needed to pass the yAxis config using left
and right
props for each side of the axis:
yAxis={{
left: {
drawGridLines: false,
drawAxisLine: false,
drawLabels: false,
},
right: {
drawGridLines: false,
drawAxisLine: false,
drawLabels: false,
},
}}
Expected Behavior
I want to disable the yAxis by using
yAxis={{enabled: false}}
Actual Behavior
yAxis remains visible.
Screenshots
You can see below that the chart has yAxis despite having disabled it:
Data and config
Steps to Reproduce the Problem
Create a line chart as follows:
Specifications