'label of set', * 'entries' => * [ * 'label-of-entry' => 'value' * ] * ] * 1: [ * 'label' => 'label of another set', * 'entries' => * [ * 'label-of-entry' => 'value' * ] * ] * * * @param array $data * * @return array */ public function multiSet(array $data): array; /** * Expects data as: * * key => value * * @param array $data * * @return array */ public function pieChart(array $data): array; /** * Will generate a (ChartJS) compatible array from the given input. Expects this format: * * 'label-of-entry' => value * 'label-of-entry' => value * * @param string $setLabel * @param array $data * * @return array */ public function singleSet(string $setLabel, array $data): array; }