ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   chart titles (https://www.excelbanter.com/excel-programming/272202-chart-titles.html)

T.K Kullervo

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




All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com