-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from master @ 7fbccce 🚀
- Loading branch information
Showing
13 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
_content/razor_source/Components/ChartGallery/RangeAreaChart.razor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@using BlazorApexCharts.Docs.Data; | ||
<ApexChart TItem="MeteoSample" | ||
Title="RangeArea" | ||
Options="options"> | ||
|
||
<ApexRangeAreaSeries TItem="MeteoSample" | ||
Items="temperatures" | ||
Name="Temperatures" | ||
XValue="@(e => e.Month)" | ||
Top="@(e => e.HighestTemperature)" | ||
Bottom="@(e => e.LowestTemperature)" | ||
/> | ||
</ApexChart> | ||
|
||
@code { | ||
private List<MeteoSample> temperatures { get; set; } = SampleData.GetMeteoSample(); | ||
private ApexChartOptions<MeteoSample> options = new(); | ||
|
||
protected override void OnInitialized() | ||
{ | ||
options = new ApexChartOptions<MeteoSample>(); | ||
options.Chart = new Chart { Sparkline = new ChartSparkline { Enabled = true } }; | ||
} | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.