I am getting Raphael not defined error
ymihir opened this issue · comments
ymihir commented
I am creating SPFx web part for SharePoint. I am trying to generate a chart using TreantJS. TreantJS using Raphael js to build the components.
I am always getting Raphael not defined
error even i try with multiple ways.
- I have loaded the script with SPComponentLoader method.
- I have loaded with $.getScript method.
In both ways, I have tried to print the output in console. with first method it is coming as
with the second method it is coming as undefined.
What is wrong here?
Tomas Alabes commented
Sorry but please take it to the TreantJS maintainers. Or ask in SO.
Thanks