jqPlot to Image

后端 未结 2 715
被撕碎了的回忆
被撕碎了的回忆 2021-01-07 08:24

I know this question is aroud here already, but I think it\'s not properly answered. So far I am using this approach which works 100% fine, for any Plot I had to far.

<
相关标签:
2条回答
  • 2021-01-07 08:53

    First of all thanks for sharing, based on my tests, this script it's missing:

    1. Data point labels for some types of charts (donuts)
    2. Legends swatch is missing.

    Now there's this option: https://bitbucket.org/cleonello/jqplot/src/538695e6a66a/src/jqplot.toImage.js?at=default

    See the test using my charts here

    0 讨论(0)
  • 2021-01-07 08:58

    It's not a bug but if you try to save the image as a png, it generates a transparent background for the image. It's up to you to take care of the background image.

    0 讨论(0)
提交回复
热议问题