Skip to content

Commit 3accbb2

Browse files
957684-ModifyBarColorExample
1 parent ce1e9fd commit 3accbb2

File tree

1 file changed

+1
-2
lines changed
  • Conditional Formatting/Data Bars/.NET/Data Bars/Data Bars

1 file changed

+1
-2
lines changed

Conditional Formatting/Data Bars/.NET/Data Bars/Data Bars/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ static void Main(string[] args)
2727
dataBar.MaxPoint.Type = ConditionValueType.HighestValue;
2828

2929
//Set color for Bar
30-
dataBar.BarColor = Color.FromArgb(156, 208, 243);
30+
dataBar.BarColor = Color.Aqua;
3131

3232
//Hide the values in data bar
3333
dataBar.ShowValue = false;
34-
dataBar.BarColor = Color.Aqua;
3534

3635
#region Save
3736
//Saving the workbook

0 commit comments

Comments
 (0)