Type: Report Item
Report Item들에 사용되는 타입
PageBreakMode
enum PageBreakMode {
NONE = 'none',
BEFORE = 'before',
AFTER = 'after',
BOTH = 'both',
}ReportItemValueCallback
type ReportItemValueCallback = (
ctx: PrintContext,
item: ReportItem,
row: number,
value: any,
) => any;ReportItemStyleCallback
type ReportItemStyleCallback = (
ctx: PrintContext,
item: ReportItem,
row: number,
value: any,
) => {
[key: string]: string | undefined;
};ReportItemVisibleCallback
type ReportItemVisibleCallback = (
ctx: PrintContext,
item: ReportItem,
row: number,
value: any,
) => boolean;ContextValueCallback
type ContextValueCallback = (ctx: PrintContext) => any;ReportItemColSpanCallback
type ReportItemColSpanCallback = (
ctx: PrintContext,
item: ReportItem,
row: number,
value: any,
) => number;BoxItemsAlign
enum BoxItemsAlign {
START = 'start',
MIDDLE = 'middle',
END = 'end',
}Direction
enum Direction {
HORIZONTAL = 'horizontal',
VERTICAL = 'vertical',
}Type: ReamlMapChart Item
RealMapChart Item들에 사용되는 타입
Legend
interface Legend {
location: Location,
group: string,
name: string,
align: Align,
verticalAlign: VerticalAlign,
layout: Layout,
offsetX: number,
itemGap: number,
background: {
style: RealMapChartSvgStyles,
},
}PointColorsCallback
데이터에 해당하는 컬러를 Callback 함수를 통해 지정합니다.
type PointColorsCallback = (point: any) => string;StyleCallback
데이터에 스타일을 지정하기 위한 콜백함수를 지정합니다.
type StyleCallback = (point: any) => string;MapChartCategory
interface MapChartCategory {
name: string;
color: string;
}