Open
Description
Description
Currently, when setting labelStyle: TextStyle(color: Colors.transparent) in primaryYAxis of SfCartesianChart, the labels are hidden, but the space they occupy remains. This prevents the chart from fully utilizing the available area.
I want to
- Show the Y-axis line (keep axisLine visible).
- Remove Y-axis labels (no text should appear).
- Remove the space occupied by the labels, so the chart appears fully stretched without any reserved padding.
Steps to Reproduce
- Define a SfCartesianChart with NumericAxis for primaryYAxis.
- Hide the labels using labelStyle: TextStyle(color: Colors.transparent).
- Observe that the labels are not displayed, but the space where they would appear remains.
Expected Behavior
There should be an option to completely remove the Y-axis labels and their space, so that the chart area expands accordingly.