Skip to content

Commit 339b863

Browse files
authored
Remove internal Legend props (#365)
1 parent 0e590ab commit 339b863

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

src/docs/api/Legend.ts

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -99,37 +99,6 @@ export default {
9999
},
100100
format: ["[{ value: 'item name', type: 'line', id: 'ID01' }]"],
101101
},
102-
{
103-
name: 'chartWidth',
104-
type: 'Number',
105-
defaultVal: 'null',
106-
isOptional: false,
107-
desc: {
108-
'en-US': 'The width of chart container, usually calculated internally.',
109-
'zh-CN': '图表的宽度,通常父组件会传下来。',
110-
},
111-
},
112-
{
113-
name: 'chartHeight',
114-
type: 'Number',
115-
defaultVal: 'null',
116-
isOptional: false,
117-
desc: {
118-
'en-US': 'The height of chart container, usually calculated internally.',
119-
'zh-CN': '图表的高度,通常父组件会传下来。',
120-
},
121-
},
122-
{
123-
name: 'margin',
124-
type: 'Object',
125-
defaultVal: 'null',
126-
isOptional: true,
127-
desc: {
128-
'en-US': 'The margin of chart container, usually calculated internally.',
129-
'zh-CN': '父组件的 marign 值。',
130-
},
131-
format: ['{ top: 0, left: 0, right: 0, bottom: 0 }'],
132-
},
133102
{
134103
name: 'content',
135104
type: 'ReactElement | Function',

0 commit comments

Comments
 (0)