factory() public static method

Creates a new JqplotDataGenerator instance for a graph type and view properties.
public static factory ( string $type, array $properties ) : JqplotDataGenerator
$type string 'pie', 'bar', or 'evolution'
$properties array The view properties.
return JqplotDataGenerator
Exemplo n.º 1
0
Arquivo: Pie.php Projeto: piwik/piwik
 protected function makeDataGenerator($properties)
 {
     return JqplotDataGenerator::factory('pie', $properties);
 }