diff --git a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_02_Horizontal_BarChart.razor b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_02_Horizontal_BarChart.razor index 213700c..03409f9 100644 --- a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_02_Horizontal_BarChart.razor +++ b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_02_Horizontal_BarChart.razor @@ -16,6 +16,7 @@ BackgroundColor = new List { ColorUtility.CategoricalTwelveColors[0] }, BorderColor = new List { ColorUtility.CategoricalTwelveColors[0] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset1); diff --git a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_03_Stacked_BarChart.razor b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_03_Stacked_BarChart.razor index 1b1b551..7a06013 100644 --- a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_03_Stacked_BarChart.razor +++ b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_03_Stacked_BarChart.razor @@ -19,6 +19,7 @@ BackgroundColor = new List { colors[0] }, BorderColor = new List { colors[0] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset1); @@ -29,6 +30,7 @@ BackgroundColor = new List { colors[1] }, BorderColor = new List { colors[1] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset2); @@ -39,6 +41,7 @@ BackgroundColor = new List { colors[2] }, BorderColor = new List { colors[2] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset3); diff --git a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_04_Stacked_BarChart_with_Datalabels.razor b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_04_Stacked_BarChart_with_Datalabels.razor index 0674656..dc2de3d 100644 --- a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_04_Stacked_BarChart_with_Datalabels.razor +++ b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_04_Stacked_BarChart_with_Datalabels.razor @@ -19,6 +19,7 @@ BackgroundColor = new List { colors[0] }, BorderColor = new List { colors[0] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset1); @@ -29,6 +30,7 @@ BackgroundColor = new List { colors[1] }, BorderColor = new List { colors[1] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset2); @@ -39,6 +41,7 @@ BackgroundColor = new List { colors[2] }, BorderColor = new List { colors[2] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset3); diff --git a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_05_Locale.razor b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_05_Locale.razor index 28b1c2c..41d7496 100644 --- a/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_05_Locale.razor +++ b/BlazorExpress.ChartJS.Demo.RCL/Components/Pages/BarCharts/BarChart_Demo_05_Locale.razor @@ -19,6 +19,7 @@ BackgroundColor = new List { colors[0] }, BorderColor = new List { colors[0] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset1); @@ -29,6 +30,7 @@ BackgroundColor = new List { colors[1] }, BorderColor = new List { colors[1] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset2); @@ -39,6 +41,7 @@ BackgroundColor = new List { colors[2] }, BorderColor = new List { colors[2] }, BorderWidth = new List { 0 }, + IndexAxis = "y", }; datasets.Add(dataset3);