Skip to content

Commit b911e33

Browse files
authored
Fix for Excel-DNA#8
Removed SetSourceData call as it seems like the chart picks the right source when it's created
1 parent f5a9e7a commit b911e33

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Ribbon/DataWriter.cs

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public static void WriteData()
3939
Range dataRange= ws.Range["A1:B101"];
4040
dataRange.Select();
4141
ws.Shapes.AddChart(XlChartType.xlLineMarkers).Select();
42-
xlApp.ActiveChart.SetSourceData(Source: dataRange);
4342
}
4443
}
4544
}

0 commit comments

Comments
 (0)