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

Hi,


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.





Hi,


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

e.g
chart.ValueAxis.IsVisible = false;


Thank you.