PluginProbe
Disk Usage Insights / 1.7
Disk Usage Insights v1.7
trunk 1.0 1.10 1.11 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | src/Frontend/Table.php +0 -11 trunk1.7 View file →
@@ -7,9 +7,8 @@
7 7 private /** @var array */ $columnNames = [];
8 8 private /** @var array */ $columnCss = [];
9 9 private /** @var array */ $percentBar = null; // [$colDisplay, $colSource]
10 10 private /** @var array */ $data = [];
11 - private /** @var array */ $vbarChart = [];
12 11 private ?Pagination $pagination = null;
13 12
14 13 public function __construct(string $headline, array $columnNames = [], array $columnCss = [])
15 14 {
@@ -35,18 +34,8 @@
35 34 }
36 35
37 36 public function withPercentBar(int $colDisplay, int $colSource): self {
38 37 $this->percentBar = [$colDisplay, $colSource];
39 -
40 - return $this;
41 - }
42 -
43 - public function withVbarChart(int $colSource): self {
44 - // vbar chart
45 - $this->vbarChart = [];
46 - foreach ($this->data as $row) {
47 - $this->vbarChart[] = floatval($row[$colSource]);
48 - }
49 38
50 39 return $this;
51 40 }
52 41