Fix chart is default graph lib
This commit is contained in:
parent
8fe0f5fb40
commit
d8b01d9a33
@ -41,7 +41,7 @@ class DolGraph
|
||||
{
|
||||
public $type = array(); // Array with type of each series. Example: array('bars', 'lines', ...)
|
||||
public $mode = 'side'; // Mode bars graph: side, depth
|
||||
private $_library = 'jflot'; // Graphic library to use (jflot, artichow)
|
||||
private $_library = 'chart'; // Graphic library to use (jflot, chart, artichow)
|
||||
|
||||
//! Array of data
|
||||
public $data; // Data of graph: array(array('abs1',valA1,valB1), array('abs2',valA2,valB2), ...)
|
||||
@ -115,7 +115,7 @@ class DolGraph
|
||||
|
||||
$this->_library = $library;
|
||||
if ($this->_library == 'auto') {
|
||||
$this->_library = (empty($conf->global->MAIN_JS_GRAPH) ? 'jflot' : $conf->global->MAIN_JS_GRAPH);
|
||||
$this->_library = (empty($conf->global->MAIN_JS_GRAPH) ? 'chart' : $conf->global->MAIN_JS_GRAPH);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user