g6/packages/site/docs/apis/plugins/WIP-LegendConfig.zh.md
2023-11-07 21:39:59 +08:00

2.6 KiB

title
LegendConfig

概述 - v5.0.0-alpha.9 / 模块 / 插件 / LegendConfig

插件.LegendConfig

层次结构

  • IPluginBaseConfig

    LegendConfig

属性

activeState

Optional activeState: string

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:55


className

Optional className: string

覆盖

IPluginBaseConfig.className

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:47


container

Optional container: HTMLDivElement

覆盖

IPluginBaseConfig.container

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:45


edge

Optional edge: ItemLegendConfig

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:61


graph

Optional graph: IGraph<BehaviorRegistry, ThemeRegistry>

继承自

IPluginBaseConfig.graph

定义在

packages/g6/src/types/plugin.ts:7


inactiveState

Optional inactiveState: string

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:57


node

Optional node: ItemLegendConfig

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:59


orientation

Optional orientation: "horizontal" | "vertical"

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:51


selectedState

Optional selectedState: string

定义在

packages/g6/src/stdlib/plugin/legend/index.ts:53


size

Optional size: "fit-content" | [string | number, string | number]

定义在

[packages/g6/src/stdlib/plugin/legend/index.ts:49](https://github.com/antvis/G6/blob