标题(Title)
Previous
Chart composition
Next
Axis
Loading...
Title in Ant Design Charts is used to specify the title of the chart.
Titles can be configured at the level of mark:
({title: {title: 'hello',subtitle: 'world',},});
Titles can also be configured at the level of view:
({title: {title: 'hello',subtitle: 'world',},});
chart.title({ title: 'hello', subtitle: 'world' });
More options about title, see the API document of title.