Skip to content

Commit c373638

Browse files
committed
Candel-Stick
1 parent 363e364 commit c373638

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

docs/BlazorApexCharts.Docs.Server/Properties/launchSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"IIS Express": {
1212
"commandName": "IISExpress",
1313
"launchBrowser": true,
14-
"launchUrl": "line-charts",
14+
"launchUrl": "candlestick-charts",
1515
"environmentVariables": {
1616
"ASPNETCORE_ENVIRONMENT": "Development"
1717
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<ChartContainer>
2+
<ApexChart TItem="Order"
3+
Title="Order Net Value"
4+
ChartType="@ChartType.Line"
5+
Debug>
6+
7+
<ApexSeries TItem="Order"
8+
Items="Orders"
9+
Name="Gross Value"
10+
XValue="@(e => e.OrderDate.FirstDayOfMonth())"
11+
YValue = "@(e => e.DiscountPrecentage)"
12+
OrderByDescending="e=>e.X" />
13+
14+
15+
</ApexChart>
16+
</ChartContainer>
17+
18+
@code {
19+
private List<Order> Orders { get; set; } = SampleData.GetOrders();
20+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@page "/candlestick-charts"
2+
3+
<DocExamples Title="Candle Stick Charts">
4+
5+
<CodeSnippet Title=Basic ClassName=@typeof(Basic).ToString()>
6+
<Snippet>
7+
<Basic />
8+
</Snippet>
9+
</CodeSnippet>
10+
11+
12+
13+
14+
</DocExamples>

0 commit comments

Comments
 (0)