'fix(docs):chart.legend文档,分页属性名错误修改' #6496
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
chart.legend官方文档,分页属性名无效,进行了修改;
https://g2.antv.antgroup.com/spec/component/legend#%E5%9B%BE%E4%BE%8B%E9%A1%B9
原文档无效属性:
navOrient 是无效的; 应该是navOrientation;
navInitPage 是无效的; 应该是navDefaultPage;
原文档缺失属性:
navPageNumFill:分页数字颜色
navPageNumFontSize:分页数字大小
navPageNumOpacity:分页数字透明度
navPageNumStroke:分页数字描边
navPageNumStrokeOpacity:分页数字描边透明度
navButtonFill:分页按钮颜色
navButtonOpacity: 分页数按钮透明度
navButtonStroke:分页按钮描边颜色
navButtonStrokeOpacity:分页按钮描边透明度