ant-design / ant-design-charts

A React Chart Library
https://ant-design-charts.antgroup.com/
MIT License
1.93k stars 362 forks source link

🧐 Functionalities of Ant Design Charts #1453

Open alexroginski1 opened 2 years ago

alexroginski1 commented 2 years ago

Hello, I have a few questions about functionalities of Ant Design Charts:

  1. Is it possible to show annotations, like lines and regions, in the tooltip?
  2. Is it possible to have multiple charts on one plot? For example, can you have an area chart and a line chart in the same plot?
  3. How can you handle long bar labels on bar charts?
  4. Is there a way to fix the error shown in the console when you create onClick events for points on a Line chart, for example? Thanks!
lxfu1 commented 2 years ago

Yes, it is recommended to see the example first, communication if there is a problem.

alexroginski1 commented 2 years ago

The examples in the Gallery do not show those functionalities. I could not find anything about these problems in the documentation or online. Are the four functionalities listed available currently in Ant Design Charts?

alexroginski1 commented 2 years ago

I would still appreciate guidance on the questions posted above. Also, how do plot layers work? Can I use them to stack plots on top of each other? I am most interested in having a line chart and area chart on the same plot. This was the only reference I could find: https://charts.ant.design/en/docs/map-api/layers/area-layer