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 16, 2024
1 parent 6f6c0c3 commit a335d5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Create and Edit Charts/Legend/.NET/Legend/Legend/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public static void Main(string[] args)
//Set the color
chart.Legend.TextArea.Color = ExcelKnownColors.Pink;

//Set the background color
chart.Legend.FrameFormat.Fill.ForeColorIndex = ExcelKnownColors.Yellow;

//Set the font
chart.Legend.TextArea.Bold = true;
chart.Legend.TextArea.FontName = "Times New Roman";
Expand Down

0 comments on commit a335d5f

Please sign in to comment.