Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application, both ASP.NET web sites and Windows Forms application.

Fri Dec 24, 2010 1:51 am

I find that the chart loses the data to display in X-axis if the table is more than certain amount of rows, but the data markers are shown normally for each axis. And the X-axis tables are completedly presented when I increase the width of the chart. Can I expand the width automatically depending on the chart data table?

Posts: 9
Joined: Thu Dec 23, 2010 2:45 am

Fri Dec 24, 2010 8:21 am

Please try to create chart with your desired length manually in Excel and check the issue for Spire.Xls works similaryly to Excel. Also, check if the tables are lost or not and then post the file here. We'll check the issue.
For expanding the width and height, you can use:
chart.Height = intNumber;
chart.Width = intNumber;
e-iceblue support
User avatar

iceblue support
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.XLS