|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by abhinayp86 in Microsoft Visual Basic.Net, Microsoft Visual C#.Net, .NET Framework 2.x
Hi experts,
For displaying a row into excel chart, i need to specify the cells explictly as:
.SetSourceData(xlWorkSheet
.Range("B2
:BL2"))
But i want to chart the entire row, and cells in the row keep changing. How can i do that?
Also, the x-axis values are numbers starting from 1. How can i change them to some custom values?
Also it displays "series 1" at right side. How can i rename it in VB.net?
Any help is greatly appretiated..
Thanks
Abhinay
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
|
With chart
.ChartType = Excel.XlChartType.xlColumnClustered
.SetSourceData(xlWorkSheet.Range("B2:BL2"))
.HasTitle = True
.ChartTitle.Characters.Text = "Records Count"
.Axes(1, Excel.XlAxisGroup.xlPrimary).HasTitle = True
.Axes(1, Excel.XlAxisGroup.xlPrimary).AxisTitle.Characters.Text = "Date"
.Axes(2, Excel.XlAxisGroup.xlPrimary).HasTitle = True
.Axes(2, Excel.XlAxisGroup.xlPrimary).AxisTitle.Characters.Text = "Count"
End With
|
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625