Options🔗
Definition🔗
class Options implements \JsonSerializable
{
public \Grafana\Foundation\Common\BigValueGraphMode $graphMode;
public \Grafana\Foundation\Common\BigValueColorMode $colorMode;
public \Grafana\Foundation\Common\BigValueJustifyMode $justifyMode;
public \Grafana\Foundation\Common\BigValueTextMode $textMode;
public bool $wideLayout;
public bool $showPercentChange;
public \Grafana\Foundation\Common\ReduceDataOptions $reduceOptions;
public ?\Grafana\Foundation\Common\VizTextDisplayOptions $text;
public \Grafana\Foundation\Common\PercentChangeColorMode $percentChangeColorMode;
public \Grafana\Foundation\Common\VizOrientation $orientation;
}
Methods🔗
fromArray🔗
Builds this object from an array.
This function is meant to be used with the return value of json_decode($json, true)
.
jsonSerialize🔗
Returns the data representing this object, preparing it for JSON serialization with json_encode()
.