LineConfig🔗
TODO docs
Definition🔗
class LineConfig implements \JsonSerializable
{
public ?string $lineColor;
public ?float $lineWidth;
public ?\Grafana\Foundation\Common\LineInterpolation $lineInterpolation;
public ?\Grafana\Foundation\Common\LineStyle $lineStyle;
/**
* Indicate if null values should be treated as gaps or connected.
* When the value is a number, it represents the maximum delta in the
* X axis that should be considered connected. For timeseries, this is milliseconds
* @var bool|float|null
*/
public $spanNulls;
}
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()
.