Search code examples
javascriptreactjschartsantd

add the option to enlarge screen in ant design charts


Hi I am using ant desing charts https://charts.ant.design/zh/examples/gallery I would like to know if there is the option of full screen by graphic, or another way to do it https://charts.ant.design/en/docs/api/common-graph/common-graph

I found this but I don't know if it's something that helps me or how to implement it, I'm new to using ant design chart, I already managed to paint the graphics but the next requirement is that I can make it full screen

As I said before, I tried these options https://charts.ant.design/en/docs/api/common-graph/common-graph but nothing that can help me


Solution

  • You can see the following example for its implementation

    you can see script this link script link

    and demo this link demo