include/SugarCharts/SugarChartFactory.php
\SugarChartFactory
Package: SugarCRM
Chart factory
- Api
Methods
getInstance(
string $chartEngine
=
'', string $module
=
''
)
:
object
static
Returns a reference to the ChartEngine object for instance $chartEngine, or the default instance if one is not specified
Parameters
Returns
Name | Type | Description |
---|---|---|
$chartEngine | string | optional, name of the chart engine from $sugar_config['chartEngine'] |
$module | string | optional, name of module extension for chart engine (see JitReports or SugarFlashReports) |
Type | Description |
---|---|
object | ChartEngine instance |