Salesforce: Is there a way to call code from custom Apex?

I need to call the static resource dhtmlxgantt chart from my back-end (Apex in Salesforce, was wondering if that was possible.

Hello Josh,
If you have a Javascript function that will make a call to the Salesforce backend, you can use the function in Gantt. If it is a native APEX function, probably, it will not work in Gantt, but you can try wrapping it in a Javascript function.