BizCharts react中使用Legend的title属性,只能传boolen类型的值

8ulbf1ek  于 2023-02-04  发布在  React
关注(0)|答案(1)|浏览(169)

export interface LegendProps extends React.Props {
name?: string;
visible?: boolean;
position?: LegendPositionType;
layout?: LegendLayoutType;
title?: boolean;
....
}

<Legend
              position="right-center"
              offsetY={120}
              offsetX={-100}
              title={true}
              
            />

相关问题