Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ x.x.x ?
* Fix mappings for Table
* Added support for AWS Cross-Account in CloudwatchMetricsTarget
* Added `LokiTarget`

* Added `axisGridShow` parameter to `TimeSeries`
0.7.1 2024-01-12
================

Expand Down
2 changes: 2 additions & 0 deletions grafanalib/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2360,6 +2360,7 @@ class TimeSeries(Panel):
valueDecimals = attr.ib(default=None, validator=attr.validators.optional(instance_of(int)))
axisSoftMin = attr.ib(default=None, validator=attr.validators.optional(instance_of(int)))
axisSoftMax = attr.ib(default=None, validator=attr.validators.optional(instance_of(int)))
axisGridShow = attr.ib(default=False, validator=instance_of(bool))

def to_json_data(self):
return self.panel_json(
Expand All @@ -2370,6 +2371,7 @@ def to_json_data(self):
'mode': self.colorMode
},
'custom': {
'axisGridShow': self.axisGridShow,
'axisPlacement': self.axisPlacement,
'axisLabel': self.axisLabel,
'drawStyle': self.drawStyle,
Expand Down
Loading