Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

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?

Mortimer
 
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

cron