File tree Expand file tree Collapse file tree 3 files changed +26
-15
lines changed
BlazorApexCharts.Docs.Server/Properties
BlazorApexCharts.Docs/Components/Features/Axis Expand file tree Collapse file tree 3 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 11
11
"BlazorApexCharts.Docs.Server" : {
12
12
"commandName" : " Project" ,
13
13
"launchBrowser" : true ,
14
- "launchUrl" : " bar-charts " ,
14
+ "launchUrl" : " features/axis " ,
15
15
"environmentVariables" : {
16
16
"ASPNETCORE_ENVIRONMENT" : " Development"
17
17
},
Original file line number Diff line number Diff line change 2
2
3
3
<DocExamples Title =" Axis" >
4
4
5
-
6
-
7
-
8
- <CodeSnippet Title =" Multiple Y Axis" ClassName =@typeof(MultipleYAxis).ToString() >
5
+ <CodeSnippet Title =" Multiple Y Axis" ClassName =@typeof(MultipleYAxisSeries).ToString() >
9
6
<Snippet >
10
- <MultipleYAxis />
7
+ <MultipleYAxisSeries />
11
8
</Snippet >
12
9
</CodeSnippet >
13
-
10
+
14
11
<CodeSnippet Title =" XAxis Groups" ClassName =@typeof(XAxisGroupsChart).ToString() >
15
- <Snippet >
16
- <XAxisGroupsChart />
17
- </Snippet >
12
+ <Snippet >
13
+ <XAxisGroupsChart />
14
+ </Snippet >
18
15
</CodeSnippet >
19
16
20
17
<CodeSnippet Title =" Axis Style" ClassName =@typeof(AxisStyle).ToString() >
21
- <Snippet >
22
- <AxisStyle />
23
- </Snippet >
18
+ <Snippet >
19
+ <AxisStyle />
20
+ </Snippet >
24
21
</CodeSnippet >
25
22
26
23
</DocExamples >
Original file line number Diff line number Diff line change 8
8
Name =" Value"
9
9
XValue =" @(e => e.Country)"
10
10
YAggregate =" @(e => e.Sum(e => e.GrossValue))"
11
- SeriesType =" SeriesType.Bar"
12
- />
11
+ SeriesType =" SeriesType.Bar" />
12
+
13
+ <ApexPointSeries TItem =" Order"
14
+ Items =" Orders"
15
+ Name =" NetValue"
16
+ XValue =" @(e => e.Country)"
17
+ YAggregate =" @(e => e.Sum(e => e.NetValue))"
18
+ SeriesType =" SeriesType.Bar" />
13
19
14
20
<ApexPointSeries TItem =" Order"
15
21
Items =" Orders"
31
37
options .Yaxis .Add (new YAxis
32
38
{
33
39
Title = new AxisTitle { Text = " Value" },
40
+ SeriesName = " Value" ,
41
+ DecimalsInFloat = 0
42
+ });
43
+ options .Yaxis .Add (new YAxis
44
+ {
45
+ Show = false ,
46
+ SeriesName = " NetValue" ,
34
47
DecimalsInFloat = 0
35
48
});
36
49
options .Yaxis .Add (new YAxis
37
50
{
38
51
Title = new AxisTitle { Text = " Percentage" },
52
+ SeriesName = " Discount" ,
39
53
DecimalsInFloat = 0 ,
40
54
Opposite = true
41
55
});
You can’t perform that action at this time.
0 commit comments