From 0412be52575d58da1a5c310d82ee32344b082373 Mon Sep 17 00:00:00 2001 From: Jeremy Foster Date: Mon, 23 Dec 2024 07:10:41 -0800 Subject: [PATCH] Fix chart options --- libs/net/template/Models/Charts/Options/ChartOptionsModel.cs | 2 +- .../template/Models/Charts/Options/ChartOptionsPluginModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/net/template/Models/Charts/Options/ChartOptionsModel.cs b/libs/net/template/Models/Charts/Options/ChartOptionsModel.cs index 9286cbacf1..d702dd3b59 100644 --- a/libs/net/template/Models/Charts/Options/ChartOptionsModel.cs +++ b/libs/net/template/Models/Charts/Options/ChartOptionsModel.cs @@ -36,6 +36,6 @@ public class ChartOptionsModel /// get/set - /// [JsonPropertyName("maintainAspectRatio")] - public string? MaintainAspectRatio { get; set; } + public bool? MaintainAspectRatio { get; set; } #endregion } diff --git a/libs/net/template/Models/Charts/Options/ChartOptionsPluginModel.cs b/libs/net/template/Models/Charts/Options/ChartOptionsPluginModel.cs index 05bf2a7522..33e27f4c1b 100644 --- a/libs/net/template/Models/Charts/Options/ChartOptionsPluginModel.cs +++ b/libs/net/template/Models/Charts/Options/ChartOptionsPluginModel.cs @@ -36,6 +36,6 @@ public class ChartOptionsPluginModel /// get/set - /// [JsonPropertyName("datalabels")] - public ChartOptionsPluginDataLabelsModel? Datalabels { get; set; } + public ChartOptionsPluginDataLabelsModel? DataLabels { get; set; } #endregion }