PluginFlyvemdmGraph - btry/glpi-plugin GitHub Wiki
- Class name: PluginFlyvemdmGraph
- Namespace:
- Parent class: CommonDBTM
string PluginFlyvemdmGraph::showInvitationsGraph()
Displays the graphic of the invitations
- Visibility: public
string PluginFlyvemdmGraph::showDevicesPerOSVersion()
Displays the devices per operating system version
- Visibility: public
void PluginFlyvemdmGraph::displayStackedBarGraph(string $title, array<mixed,string> $labels, array $series, array<mixed,string> $options, boolean $display)
Display stacked bar graph
- Visibility: public
- $title string - <p>Graph title</p>
- $labels array<mixed,string> - <p>Labels to display</p>
- $series array - <p>Series data. An array of the form: [ ['name' => 'a name', 'data' => []], ['name' => 'another name', 'data' => []] ]</p>
- $options array<mixed,string> - <p>array of options</p>
- $display boolean - <p>Whether to display directly; defauts to true</p>
void PluginFlyvemdmGraph::checkEmptyLabels(array $labels)
Check and replace empty labels (picked from GLPI 9.2)
- Visibility: private
- $labels array - <p>Labels</p>