I managed in creating a common graph with Excel_ChartChartWizard but I want to create a special one. It's simple using Visual Basic :
Charts.Add
ActiveChart.ChartType = xlColumnStacked
ActiveChart.SeriesCollection.NewSeries
ActiveChart.SeriesCollection.NewSeries
ActiveChart.SeriesCollection.NewSeries
ActiveChart.SeriesCollection(1).XValues = "={""current"",""pass""}"
ActiveChart.SeriesCollection(1).Values = "={1,2}"
ActiveChart.SeriesCollection(1).Name = "=""FAIL"""
ActiveChart.SeriesCollection(2).XValues = "={""current"",""pass""}"
ActiveChart.SeriesCollection(2).Values = "={0,3}"
ActiveChart.SeriesCollection(2).Name = "=""FIRST PASS"""
ActiveC
hart.SeriesCollection(3).XValues = "={""current"",""pass""}"
ActiveChart.SeriesCollection(3).Values = "={3,2}"
ActiveChart.SeriesCollection(3).Name = "=""SND PASS"""
ActiveChart.Location Where:=xlLocationAsObject, Name:="weekly report"
With ActiveChart
.HasTitle = False
.Axes(xlCategory, xlPrimary).HasTitle = False
.Axes(xlValue, xlPrimary).HasTitle = False
End With
But when I'm using Excel_ChartSeriesCollectionNewSeries after adding a chart in CVI, it returns an unknown error.