PluginFlyvemdmGraph - btry/glpi-plugin GitHub Wiki

PluginFlyvemdmGraph

  • Class name: PluginFlyvemdmGraph
  • Namespace:
  • Parent class: CommonDBTM

Methods

showInvitationsGraph

string PluginFlyvemdmGraph::showInvitationsGraph()

Displays the graphic of the invitations

  • Visibility: public

showDevicesPerOSVersion

string PluginFlyvemdmGraph::showDevicesPerOSVersion()

Displays the devices per operating system version

  • Visibility: public

displayStackedBarGraph

void PluginFlyvemdmGraph::displayStackedBarGraph(string $title, array<mixed,string> $labels, array $series, array<mixed,string> $options, boolean $display)

Display stacked bar graph

  • Visibility: public

Arguments

  • $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>

checkEmptyLabels

void PluginFlyvemdmGraph::checkEmptyLabels(array $labels)

Check and replace empty labels (picked from GLPI 9.2)

  • Visibility: private

Arguments

  • $labels array - <p>Labels</p>
⚠️ **GitHub.com Fallback** ⚠️