Skip to Main Content

Overwrite JET chart datasource refresh logic

Sven W.May 3 2018

Apex 5.1.3

I'm looking for a way to change the logic how a current JET chart fetches its data. Almost like it is done in Apex 18.1 with webservices.

Instead of loading the data via a select statement, I want to add some javascript code to calculate the data based upon some JSON document.

And each time $('#<chart region static id>_jet').ojChart('refresh');  is called, this logic needs to be called.

Which functions can be overwritten/replaced to get such an behaviour? And can we add this new functionality via the advanced javascript section in the chart?

Looking for any pointers or documents that can help me further.

Comments
Post Details
Added on May 3 2018
0 comments
126 views