We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6c0c3 commit a335d5fCopy full SHA for a335d5f
Create and Edit Charts/Legend/.NET/Legend/Legend/Program.cs
@@ -35,6 +35,9 @@ public static void Main(string[] args)
35
//Set the color
36
chart.Legend.TextArea.Color = ExcelKnownColors.Pink;
37
38
+ //Set the background color
39
+ chart.Legend.FrameFormat.Fill.ForeColorIndex = ExcelKnownColors.Yellow;
40
+
41
//Set the font
42
chart.Legend.TextArea.Bold = true;
43
chart.Legend.TextArea.FontName = "Times New Roman";
0 commit comments