import { HTMLAttributes } from 'react';
import { ChartProps } from './chart';

export type BackgroundBoxProps = {

  /** 标题 */
  title: string;

  /** 宽度 */
  width?: number;

  /** 高度 */
  height?: number;

  /** 需要被减去的高度 */
  subHeight?: number;

  /** 选择ID */
  selector?: string;

  /** 是否依据比例重新计算高度 */
  radioCalc?: boolean;

  /** 重新加载数据 */
  reloadData?: number;

}
  & Pick<HTMLAttributes<any>, 'className'>
  & Pick<ChartProps, 'calcRefresh'>