Skip to content

Commit e6395e7

Browse files
authored
feat(Chart): add more Colors (#833)
1 parent ca82bdb commit e6395e7

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

src/components/BootstrapBlazor.Chart/Components/Chart/ChartOptions.cs

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
1+
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33
// Website: https://www.blazor.zone or https://argozhang.github.io/
44

@@ -119,7 +119,29 @@ public class ChartOptions
119119
{ "yellow", "rgb(255, 205, 86)" },
120120
{ "tomato", "rgb(255, 99, 71)" },
121121
{ "pink", "rgb(255, 192, 203)" },
122-
{ "violet", "rgb(238, 130, 238)" }
122+
{ "violet", "rgb(238, 130, 238)" },
123+
{ "indigo", "rgb(75, 0, 130)" },
124+
{ "cyan", "rgb(0, 255, 255)" },
125+
{ "magenta", "rgb(255, 0, 255)" },
126+
{ "lime", "rgb(50, 205, 50)" },
127+
{ "teal", "rgb(0, 128, 128)" },
128+
{ "lavender", "rgb(230, 230, 250)" },
129+
{ "maroon", "rgb(128, 0, 0)" },
130+
{ "olive", "rgb(128, 128, 0)" },
131+
{ "navy", "rgb(0, 0, 128)" },
132+
{ "coral", "rgb(255, 127, 80)" },
133+
{ "salmon", "rgb(250, 128, 114)" },
134+
{ "gold", "rgb(255, 215, 0)" },
135+
{ "khaki", "rgb(240, 230, 140)" },
136+
{ "plum", "rgb(221, 160, 221)" },
137+
{ "turquoise", "rgb(64, 224, 208)" },
138+
{ "orchid", "rgb(218, 112, 214)" },
139+
{ "crimson", "rgb(220, 20, 60)" },
140+
{ "sienna", "rgb(160, 82, 45)" },
141+
{ "steelblue", "rgb(70, 130, 180)" },
142+
{ "chocolate", "rgb(210, 105, 30)" },
143+
{ "forestgreen", "rgb(34, 139, 34)" },
144+
{ "slateblue", "rgb(106, 90, 205)" }
123145
};
124146

125147
/// <summary>

0 commit comments

Comments
 (0)