Thread: chart titles
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
T.K Kullervo T.K Kullervo is offline
external usenet poster
 
Posts: 7
Default chart titles

Hi,
Im creating an excel chart from a visual basic.net program. Could someone
please help me by showing me how to name the axes titles and change the
space between ticks at the x-axe. Here is the code how i created the chart.

chart1.SetSourceData(FirstChartRange)
chart1.ChartType = Excel.XlChartType.xlLine
Dim series1 As Excel.Series
Dim seriesCollection1 As Excel.SeriesCollection = _
CType(chart1.SeriesCollection(), Excel.SeriesCollection)
series1 = seriesCollection1.Item(seriesCollection1.Count)
series1.XValues = FirstxValues