Hello,
I find that infragistics.js is huge(>2M), is there any way to reduce its size?
Best regards,
Zach@Shine
Hi Zach,
Thats because it includes EVERYTHING. If you use the infragistics loader, you can request precisely the features you need, and ONLY those files will get downloaded from the server. This is a very good idea with the chart, because it contains TONS of different series types that you don't want to have to download the logic for unless you want them. If you are using MVC, the rendered html will automatically load the features you need, I believe.
Here's information on using the infragistics loader:
https://www.igniteui.com/help/api/2019.1/ig.loader
http://help.infragistics.com/Help/Doc/jQuery/2012.1/CLR4.0/html/Using_Infragistics_Loader.html
Hope this helps!
-Graham