Skip to content

Commit ef4d737

Browse files
committed
Small fix
1 parent be33b66 commit ef4d737

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/BlazorApexCharts.Docs/Components/ChartTypes/BarCharts/StackedTotalDataLabel.razor

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
{
4545
Total = new BarTotalDataLabels
4646
{
47-
Enabled = true,
4847
Style = new BarDataLabelsStyle
4948
{
5049
FontWeight = "800"

src/Blazor-ApexCharts/Models/ApexChartOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ public class PlotOptionsBarDataLabels
904904

905905
public class BarTotalDataLabels
906906
{
907-
public bool Enabled { get; set; }
907+
public bool Enabled { get; set; } = true;
908908
public string Formatter { get; set; }
909909
public double? OffsetX { get; set; }
910910
public double? OffsetY { get; set; }

0 commit comments

Comments
 (0)