BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
Dim chart As IChart = workbook.Charts.Add()
chart.Series.Add(ExcelChartType.Column_Clustered)
chart.Series(0).CategoryLabels = sheet.Range("A3:A10")
chart.Series(0).Values = sheet.Range("B3:B10")
chart.Series.Add(ExcelChartType.Line)
chart.Series(1).CategoryLabels = sheet.Range("A3:A10")
chart.Series(1).Values = sheet.Range("E3:E10")
chart.Series(0).DataPoints.DefaultDataPoint.DataLabels.IsValue = True
chart.Series(1).DataPoints.DefaultDataPoint.DataLabels.IsValue = True
chart.Series(1).DataPoints(7).DataLabels.IsValue = True
chart.Series(1).DataPoints(7).DataLabels.Position = ExcelDataLabelPosition.Above
chart.Series(1).DataPoints(7).DataLabels.Color = ExcelKnownColors.Dark_blue
chart.Series(1).DataPoints(7).DataLabels.Bold = True |