Skip to content

Commit

Permalink
docs: fix chart.zh.md (#5726)
Browse files Browse the repository at this point in the history
fix chart.zh.md
  • Loading branch information
jingjing20 authored Nov 3, 2023
1 parent eda7fc2 commit 9f8db50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/general/chart.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ redirect_from:

G2 的 View 是图层容器的概念,每一个 View 拥有自己独立的数据源、坐标系、几何标记、Tooltip 以及图例,可以理解 View 是整个 G2 体系中,用来组装数据,Component,Geometry 的容器。 一个 View 可以包含有多个子 View,通过这种嵌套关系,可以将一个画布按照不同的布局划分多个不同区域(分面),也可以将不同数据源的多个 View 叠加到一起,形成一个多数据源,多图层的图表。

而 Chart 是继承自 View,用于提供创建 canvas、已经自适应图表大小等能力,便于开发者使用的类。
而 Chart 是继承自 View,用于提供创建 canvas、以及自适应图表大小等能力,便于开发者使用的类。

下面会介绍如何创建 Chart 对象,以及 Chart 对象体提供一些 API,包括通用 API、生命周期 API 以及 View 管理 API 等。

Expand Down

0 comments on commit 9f8db50

Please sign in to comment.