Correct graph row component responsive layout for linked graphs (#13587)

* Correct graph row component responsive layout for linked graphs
Enable pass through height and legend.  Probably need more, but this is just for a start.
Switch Poller performance page

* revert accidental change

* Update Graph.php
This commit is contained in:
Tony Murray
2021-11-30 19:21:41 -06:00
committed by GitHub
parent 12a262744e
commit d69674b36e
7 changed files with 30 additions and 10 deletions

View File

@@ -120,6 +120,19 @@ class Graph extends Component
]);
}
/**
* @param mixed $value
* @param int|string $key
* @return bool
*/
public function filterAttributes($value, $key): bool
{
return ! in_array($key, [
'legend',
'height',
]);
}
private function getSrc(): string
{
return url('graph.php') . '?' . http_build_query($this->vars + [