Skip to content

Commit c94dff4

Browse files
committed
Create and Edit Charts
1 parent a335d5f commit c94dff4

File tree

1 file changed

+1
-1
lines changed
  • Create and Edit Charts/Legend/.NET/Legend/Legend

1 file changed

+1
-1
lines changed

Create and Edit Charts/Legend/.NET/Legend/Legend/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static void Main(string[] args)
4545
chart.Legend.TextArea.Strikethrough = false;
4646

4747
//Remove the legend
48-
chart.Legend.LegendEntries[0].IsDeleted = true;
48+
chart.Legend.LegendEntries[0].Delete();
4949

5050
//Set Legend without overlapping the chart
5151
chart.Legend.IncludeInLayout = true;

0 commit comments

Comments
 (0)