-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe019a2
commit 133795c
Showing
27 changed files
with
3,415 additions
and
2,696 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
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 |
---|---|---|
@@ -1,12 +1,23 @@ | ||
using Microsoft.AspNetCore.Components; | ||
using LiveChartsCore.SkiaSharpView; | ||
using LiveChartsCore; | ||
using Microsoft.AspNetCore.Components; | ||
using LiveChartsCore.SkiaSharpView.Painting; | ||
using DeBankUI.Utils; | ||
|
||
namespace DeBankUI.Components | ||
{ | ||
public class BaseChartComponent : ComponentBase | ||
public abstract class BaseChartComponent : ComponentBase | ||
{ | ||
public void DownloadChartData() | ||
public ISeries[] Series { get; set; } | ||
public Axis[] YAxes { get; set; } | ||
public Axis[] XAxes { get; set; } | ||
|
||
public DrawMarginFrame DrawMarginFrame => new() | ||
{ | ||
Fill = new SolidColorPaint(Colors.ChartBackground), | ||
Stroke = new SolidColorPaint(Colors.ChartBorder, 2) | ||
}; | ||
|
||
} | ||
public abstract byte[] DownloadChartData(); | ||
} | ||
} |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.