Hi all,
I have implemented a custom widget to create piecharts with a different formatting than the standard aimms widget. This new widget is based on v7 of D3.
The workflow is the same as referenced here: https://documentation.aimms.com/webui/dev-tut-4.html
I included some html script that loads D3 v7 and it should load D3 v3 (=standard in aimms) straight after the charts are generated. What happens now is the following:
- Opening page with piecharts: renders perfectly
- Opening a page with charts depending on v3: does not load
- Reloading the webpage: loads the v3 charts again
There is something wrong here with versioning, but I am not sure why.
Documents:
- Log1: Console log of step 1
- Log2: Step 2; opening a page with a gantt chart
- Log3: step3; refreshing the whole page
- Code that generates the piecharts
- Factory that initialises the different custom widgets
I would love to know if anyone has similar experiences and how they resolved it.
Thanks in advance!