Charts fromJSON

Posted by: kmalyi on 21 October 2020, 12:41 am EST

  • Posted 21 October 2020, 12:41 am EST

    Hello, help me please to figure out why my charts doesn't paint on the sheet.
    1. I added chart into sheet (in SpreadJS Designer) and save it as toJSON object on Server.
    2. I received json into my custom SpreadJS component and try paint it fromJSON.
    Everything like data and colors painted fine but charts doesn't.
    What i am do wrong?
  • Replied 22 October 2020, 12:32 am EST


    We are sorry but we are not able to replicate the issue at our end. Please make sure you import the charts package before using the fromJSON and if the issue persists please share a small sample that replicates the issue so that we could investigate further. You may also check the sample that we used for testing and let us know if we have missed any steps.


  • Marked as Answer

    Replied 23 February 2021, 7:50 pm EST

    So the problem was that i didn't insert
    import '@grapecity/spread-sheets-charts';
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels