Skip default chart library js code

Answered

In our case, Flexmonster is being used only for pivoting.
Is there way

  1. not to load  chart library code while loading flexmonster components?
  2. not to initialize chart library to save browser computation and memory? 

1 answer

Public
Dmytro Zvazhii Flexmonster November 6, 2018

Hello Ketan,
Thank you for your questions. Please find our answers below:

  1. The flexmonster.js file includes the code which creates and handles Flexmonster Charts behavior and it is not possible to remove it. Our component uses d3 third part library which is in charge for drawing visual part. Flexmonster loads the d3 library into browser’s memory only when the user opens charts.
  2. In such case, you can remove the chart button from the toolbar and not allow a user to switch to charts. Also, you can delete d3 library from the lib folder. In such case, Flexmonster will not load d3 library at all.

Please let us know in case of any other question.
Regards,
Dmytro

Please login or Register to Submit Answer