Skip to content

Commit 5d30f95

Browse files
authored
Merge pull request #181 from SyncfusionExamples/957684-ModifyBarColorExample
957684-Modify the bar color of Data Bars in Working with Conditional Formatting page and its sample
2 parents b056457 + 3accbb2 commit 5d30f95

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)