Skip to content

Commit 7a423a2

Browse files
committed
Remove items not in JS docs or TS definition
Add DatetimeFormatter.Second property Remove obsolete Annotations.Position property Remove obsolete Annotations.Shapes property Remove obsolete AnnotationsShape class Remove obsolete PlotOptionsBar.EndingShape property Remove obsolete PlotOptionsBar.StartingShape property Remove obsolete YAxisLabels.DatetimeUTC property Remove obsolete YAxisLabels.Format property Remove obsolete YAxisLabels.HideOverlappingLabels property Remove obsolete YAxisLabels.RotateAlways property Remove obsolete YAxisLabels.ShowDuplicates property Remove obsolete YAxisLabels.Trim property Remove obsolete Shape enum
1 parent 47b5f40 commit 7a423a2

File tree

1 file changed

+3
-69
lines changed

1 file changed

+3
-69
lines changed

src/Blazor-ApexCharts/Models/ApexChartOptions.cs

Lines changed: 3 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,6 @@ public class TreemapRanges
252252
/// </summary>
253253
public string ForeColor { get; set; }
254254

255-
/// <summary>
256-
/// Undefined
257-
/// </summary>
258255
public string Name { get; set; }
259256
}
260257

@@ -276,14 +273,6 @@ public class Annotations
276273
/// <inheritdoc cref="ApexCharts.AnnotationsPoint" />
277274
public List<AnnotationsPoint> Points { get; set; }
278275

279-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
280-
[Obsolete("This property is no longer available")]
281-
public string Position { get; set; }
282-
283-
[Obsolete("This property is no longer available")]
284-
public List<AnnotationsShape> Shapes { get; set; }
285-
#pragma warning restore CS1591
286-
287276
/// <inheritdoc cref="ApexCharts.AnnotationsText" />
288277
public List<AnnotationsText> Texts { get; set; }
289278

@@ -571,23 +560,6 @@ public class AnnotationMarker
571560
public double? StrokeWidth { get; set; }
572561
}
573562

574-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
575-
[Obsolete("This property is no longer available")]
576-
public class AnnotationsShape
577-
{
578-
public string BackgroundColor { get; set; }
579-
public string BorderColor { get; set; }
580-
public double? BorderRadius { get; set; }
581-
public double? BorderWidth { get; set; }
582-
public double? Height { get; set; }
583-
public double? Opacity { get; set; }
584-
public string Type { get; set; }
585-
public object Width { get; set; }
586-
public double? X { get; set; }
587-
public double? Y { get; set; }
588-
}
589-
#pragma warning restore CS1591
590-
591563
/// <summary>
592564
/// Defines how to style the individual data point annotations and their text
593565
/// </summary>
@@ -2761,14 +2733,6 @@ public class PlotOptionsBar
27612733

27622734
/// <inheritdoc cref="ApexCharts.PlotOptionsBarDataLabels" />
27632735
public PlotOptionsBarDataLabels DataLabels { get; set; }
2764-
2765-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
2766-
[Obsolete("Deprecated since 3.24.0")]
2767-
public Shape? EndingShape { get; set; }
2768-
2769-
[Obsolete("Deprecated since 3.24.0")]
2770-
public Shape? StartingShape { get; set; }
2771-
#pragma warning restore CS1591
27722736
}
27732737

27742738
#pragma warning disable CS1591 // Enum values are self-explanatory
@@ -4888,14 +4852,6 @@ public class YAxisLabels
48884852
/// <inheritdoc cref="ApexCharts.DatetimeFormatter" />
48894853
public DatetimeFormatter DatetimeFormatter { get; set; }
48904854

4891-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
4892-
[Obsolete("This property is no longer available")]
4893-
public bool? DatetimeUTC { get; set; }
4894-
4895-
[Obsolete("This property is no longer available")]
4896-
public string Format { get; set; }
4897-
#pragma warning restore CS1591
4898-
48994855
/// <summary>
49004856
/// Applies a custom function for the yaxis value.
49014857
///
@@ -4914,11 +4870,6 @@ public class YAxisLabels
49144870
/// </remarks>
49154871
public string Formatter { get; set; }
49164872

4917-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
4918-
[Obsolete("This property is no longer available")]
4919-
public bool? HideOverlappingLabels { get; set; }
4920-
#pragma warning restore CS1591
4921-
49224873
/// <summary>
49234874
/// Maximum width for the y-axis labels
49244875
/// </summary>
@@ -4949,17 +4900,6 @@ public class YAxisLabels
49494900
/// </summary>
49504901
public bool? Show { get; set; }
49514902

4952-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
4953-
[Obsolete("This property is no longer available")]
4954-
public bool? RotateAlways { get; set; }
4955-
4956-
[Obsolete("This property is no longer available")]
4957-
public bool? ShowDuplicates { get; set; }
4958-
4959-
[Obsolete("This property is no longer available")]
4960-
public bool? Trim { get; set; }
4961-
#pragma warning restore CS1591
4962-
49634903
/// <inheritdoc cref="ApexCharts.AxisLabelStyle" />
49644904
public AxisLabelStyle Style { get; set; }
49654905

@@ -4987,6 +4927,9 @@ public class DatetimeFormatter
49874927
#pragma warning disable CS1591 // Documentation not available for obsolete properties
49884928
[Obsolete("This property is no longer available")]
49894929
public string Minute { get; set; }
4930+
4931+
[Obsolete("This property is no longer available")]
4932+
public string Second { get; set; }
49904933
#pragma warning restore CS1591
49914934

49924935
/// <summary>
@@ -5449,15 +5392,6 @@ public enum Format
54495392
};
54505393
#pragma warning restore CS1591
54515394

5452-
#pragma warning disable CS1591 // Documentation not available for obsolete properties
5453-
[Obsolete("Deprecated since 3.24.0")]
5454-
public enum Shape
5455-
{
5456-
Flat,
5457-
Rounded
5458-
};
5459-
#pragma warning restore CS1591
5460-
54615395
/// <summary>
54625396
/// A list of ways to generate lines
54635397
/// </summary>

0 commit comments

Comments
 (0)