First, we made the CT for display purposes, but now let's create the CT to make it run.
We will use the
Direct function, so let's prepare that as well. In reality we've done this already.
Duplicate a different
Next, prepare the
Direct function to read the data.
First, it's the
config.php file that defines the
API. Let's gather them together and implement the four graphs (source file:
.... 'MyAppDashBoard'=>array( 'methods'=>array( 'getPieData'=>array( 'len'=>0 ), 'getBarData'=>array( 'len'=>0 ), 'getLineData'=>array( ...