We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Formatting of value-axis in Aspose : hide values in value-axis is series is null


I want to hide the values in Value-Axis when data in chart is empty (ie series is null).

I am attaching the expected output and intended output with the file. Also attaching sample code and excel file to be used with excel.


I think you may try to use Chart.ValueAxis.IsVisible to set to “false” for your need.

chart.ValueAxis.IsVisible = false;

Thank you.