Skip to content

Commit 03f8081

Browse files
authored
Merge pull request #440 from apexcharts/update-apexcharts_3_48_0
Update to apexcharts.js 3.48.0
2 parents ca2295f + 4f44ad1 commit 03f8081

File tree

3 files changed

+50
-8
lines changed

3 files changed

+50
-8
lines changed

src/Blazor-ApexCharts/Models/ApexChartOptions.cs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class ApexChartOptions<TItem> where TItem : class
9696

9797
/// <inheritdoc cref="ApexCharts.Tooltip" />
9898
public Tooltip Tooltip { get; set; }
99-
99+
100100
/// <inheritdoc cref="ApexCharts.XAxis" />
101101
public XAxis Xaxis { get; set; }
102102

@@ -533,7 +533,7 @@ internal void SetEventFunction(AnnotationEventType eventType)
533533
}
534534
}
535535

536-
536+
537537

538538

539539
/// <summary>
@@ -5181,7 +5181,7 @@ public class YAxis
51815181
/// <summary>
51825182
/// In a multiple y-axis chart, you can target the scale of a y-axis to a particular series by referencing through the seriesName. The series item which have the same name property will be used to calculate the scale of the y-axis.
51835183
/// </summary>
5184-
public string SeriesName { get; set; }
5184+
public SeriesName SeriesName { get; set; }
51855185

51865186
/// <summary>
51875187
/// Whether to display the y-axis or not.
@@ -5582,6 +5582,7 @@ public enum Curve
55825582

55835583
/// <summary>
55845584
/// Points are connected by horizontal and vertical line segments, looking like steps of a staircase.
5585+
/// Step is drawn after each data point
55855586
/// </summary>
55865587
Stepline,
55875588

@@ -5593,7 +5594,13 @@ public enum Curve
55935594
/// <summary>
55945595
/// Connects the points to create a monotone cubic spline
55955596
/// </summary>
5596-
MonotoneCubic
5597+
MonotoneCubic,
5598+
5599+
/// <summary>
5600+
/// Points are connected by horizontal and vertical line segments, looking like steps of a staircase.
5601+
/// Step is drawn before each data point
5602+
/// </summary>
5603+
Linestep
55975604
};
55985605

55995606
/// <summary>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
using System.Collections.Generic;
2+
3+
namespace ApexCharts
4+
{
5+
/// <remarks>
6+
/// Accepts either a single value or collection of values.
7+
/// </remarks>
8+
public class SeriesName : ValueOrList<string>
9+
{
10+
/// <summary>
11+
/// Converts a text collection into a list of strings
12+
/// </summary>
13+
public static implicit operator List<string>(SeriesName source) => source.values;
14+
15+
/// <summary>
16+
/// Converts a list of strings into a text collection
17+
/// </summary>
18+
public static implicit operator SeriesName(List<string> source) => new(source);
19+
20+
/// <summary>
21+
/// Converts a string into a text collection
22+
/// </summary>
23+
public static implicit operator SeriesName(string source) => new(source);
24+
25+
/// <summary>
26+
/// Creates a new collection of texts with the provided values
27+
/// </summary>
28+
public SeriesName(params string[] values) : base(values) { }
29+
30+
/// <summary>
31+
/// Creates a new collection of texts with the provided values
32+
/// </summary>
33+
public SeriesName(IEnumerable<string> values) : base(values) { }
34+
}
35+
}

src/Blazor-ApexCharts/wwwroot/js/apexcharts.esm.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)