JavascriptFactory
class JavascriptFactory (View source)
Constants
DEBUG |
|
Methods
string
getChartJs(
Chart $chart,
string $elementId = null)
Checks the Chart for DataTable and builds the Javascript code block
bool
coreJsRendered($stat = false)
True if the lava object and jsapi have been added to the page.
string
getCoreJs()
Builds the javascript lava object for chart interation.
Details
at line 104
string
getChartJs(
Chart $chart,
string $elementId = null)
Checks the Chart for DataTable and builds the Javascript code block
Build the script block for the actual chart and passes it back to output function of the calling chart object. If there are any events defined, they will be automatically be attached to the chart and pulled from the callbacks folder.
at line 360
bool
coreJsRendered($stat = false)
True if the lava object and jsapi have been added to the page.
at line 376
string
getCoreJs()
Builds the javascript lava object for chart interation.