support exporting statistics & analysis result to mermaid
This commit is contained in:
@@ -7,6 +7,7 @@ export class KnownFileType {
|
||||
public static readonly SSV = new KnownFileType('txt', 'text/plain');
|
||||
public static readonly TXT = new KnownFileType('txt', 'text/plain');
|
||||
public static readonly MARKDOWN = new KnownFileType('md', 'text/markdown');
|
||||
public static readonly MERMAID = new KnownFileType('mermaid', 'text/vnd.mermaid');
|
||||
public static readonly JS = new KnownFileType('js', 'application/javascript');
|
||||
public static readonly JPG = new KnownFileType('jpg', 'image/jpeg');
|
||||
|
||||
|
||||
@@ -285,6 +285,12 @@ export class ChartDateAggregationType {
|
||||
}
|
||||
}
|
||||
|
||||
export enum ExportMermaidChartType {
|
||||
PieChart = 'pieChart',
|
||||
XYChartBar = 'xyChartBar',
|
||||
XYChartLine = 'xyChartLine'
|
||||
}
|
||||
|
||||
export const DEFAULT_CATEGORICAL_CHART_DATA_RANGE: DateRange = DateRange.ThisMonth;
|
||||
export const DEFAULT_TREND_CHART_DATA_RANGE: DateRange = DateRange.ThisYear;
|
||||
export const DEFAULT_ASSET_TRENDS_CHART_DATA_RANGE: DateRange = DateRange.ThisYear;
|
||||
|
||||
Reference in New Issue
Block a user