@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
72 lines (71 loc) • 1.71 kB
TypeScript
import { IFontStyle, ISingleDisplayField, LegendPositionType } from './chart-style';
export declare const enum ColorMode {
Value = "value",
BackGround = "background"
}
export declare const enum GaugeEmptyValueMode {
Zero = "0",
Empty = "empty"
}
export declare const enum SingleTextLayout {
Horizontal = "horizontal",
Vertical = "vertical"
}
export declare const enum SingleMode {
Gauge = "gauge",
Number = "number",
Circular = "circular"
}
export declare const enum ESinglePercentValueMode {
Numberic = "numberic",
Percentage = "percent"
}
export interface ITitleStyle {
name: string;
font: IFontStyle;
position: LegendPositionType;
}
export declare const InitGaugeTitleFont: IFontStyle;
export declare const InitDataFontStyle: IFontStyle;
export declare const SeverityColor: {
normalColor: {
color: string;
pointer: string;
};
warningColor: {
color: string;
pointer: string;
};
thresholdColor: {
color: string;
pointer: string;
};
defaultColor: string;
whiteColor: string;
darkColor: string;
grayColor: string;
};
export declare const InitSplitter: {
colorPalette: {
type: string;
value: never[];
};
scale: string[];
};
export interface ISingleFont {
fontSize: number;
fontColor: string;
layout: SingleTextLayout;
}
export interface ISingleAffix {
value: string;
font: ISingleFont;
}
export declare enum ESingleValueTrendMode {
None = "none",
Line = "line",
Area = "area",
Bar = "bar"
}
export declare const InitSingleAffix: ISingleAffix;
export declare const InitDisplayField: ISingleDisplayField;