Skip to content

Commit 6e65322

Browse files
authoredJun 8, 2024
Code improvements (#745)
1 parent 3851f6c commit 6e65322

File tree

86 files changed

+291
-449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+291
-449
lines changed
 

‎BlazorBootstrap.Demo.RCL/Components/Pages/Charts/BarCharts/BarChart_Demo_01_Examples.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120

121121
private BarChartDataset GetRandomBarChartDataset()
122122
{
123-
var c = ColorBuilder.CategoricalTwelveColors[datasetsCount].ToColor();
123+
var c = ColorUtility.CategoricalTwelveColors[datasetsCount].ToColor();
124124

125125
datasetsCount += 1;
126126

‎BlazorBootstrap.Demo.RCL/Components/Pages/Charts/BarCharts/BarChart_Demo_02_Horizontal_BarChart.razor

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
var dataset1 = new BarChartDataset()
1414
{
1515
Data = new List<double> { 55000, 15000, 18000, 21000 },
16-
BackgroundColor = new List<string> { ColorBuilder.CategoricalTwelveColors[0] },
17-
BorderColor = new List<string> { ColorBuilder.CategoricalTwelveColors[0] },
16+
BackgroundColor = new List<string> { ColorUtility.CategoricalTwelveColors[0] },
17+
BorderColor = new List<string> { ColorUtility.CategoricalTwelveColors[0] },
1818
BorderWidth = new List<double> { 0 },
1919
};
2020
datasets.Add(dataset1);

0 commit comments

Comments
 (0)