zhu-jiang-yi-yuan-bigscreen
Version:
南方医科大学珠江医院大屏端
27 lines (26 loc) • 1.33 kB
TypeScript
import { ChartProps } from '../../@types';
import { ShapeAttrs } from '@antv/g-base/lib/types';
import { GeometryLabelCfg, LabelCallback } from '@antv/g2/lib/interface';
import { IBaseGemoProps } from 'bizcharts/es/interface';
import { IAxis } from "bizcharts/lib/components/Axis";
declare const getTooltipTpl: (props: {
title: string;
data: Array<{
color: string;
name: string;
value: string;
}>;
alias?: string;
suffix?: string;
color?: string;
}) => string;
declare const getLabelProps: (calcRefresh: number | ChartProps['calcRefresh'], yName: string | undefined, showLabel?: boolean | undefined, compareWidth?: number | undefined, extra?: GeometryLabelCfg | [string, LabelCallback] | undefined) => Pick<IBaseGemoProps, "label">;
declare const getPadding: (top: number, right?: number | undefined, bottom?: number | undefined, left?: number | undefined) => number[];
declare const getLineDash: (docWidth?: number | undefined) => number[];
declare const getFontSize: (docWidth?: number | undefined) => number;
declare const getAxis: (props: {
name: string;
docWidth?: number;
showTitle?: boolean;
} & Pick<IAxis, 'grid' | 'verticalFactor'> & Pick<ShapeAttrs, 'lineWidth'>) => IAxis;
export { getTooltipTpl, getLabelProps, getPadding, getLineDash, getFontSize, getAxis };