Chart Label

Technical support for Spire.XLS

Moderators: iceblue support, Flash, Manager

Chart Label

Postby smilesunshine99 » Thu Jan 27, 2011 3:07 am

I need to set the first row and first column as label of my chart. Can you help me to complete it?
smilesunshine99
 
Posts: 8
Joined: Tue Dec 21, 2010 7:09 am

Re: Chart Label

Postby iceblue support » Fri Jan 28, 2011 3:59 am

You may set the CategoryLabel property of the ChartSerie and specify the cell range to generate the labels. Code: cs.CategoryLabels = sheet.Range["A2:A4"].
e-iceblue support
User avatar
iceblue support
 
Posts: 244
Joined: Tue Dec 21, 2010 2:56 am


Return to Spire.XLS

Who is online

Users browsing this forum: No registered users and 0 guests