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들에 사용되는 타입
PointColorsCallback
데이터에 해당하는 컬러를 Callback 함수를 통해 지정합니다.
type PointColorsCallback = (point: any) => string;