Skip to content

Commit

Permalink
Create and Edit Charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurmitha4004 committed Oct 21, 2024
1 parent a335d5f commit c94dff4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void Main(string[] args)
chart.Legend.TextArea.Strikethrough = false;

//Remove the legend
chart.Legend.LegendEntries[0].IsDeleted = true;
chart.Legend.LegendEntries[0].Delete();

//Set Legend without overlapping the chart
chart.Legend.IncludeInLayout = true;
Expand Down

0 comments on commit c94dff4

Please sign in to comment.