Commit Graph

11 Commits

Author SHA1 Message Date
Jonathan Lange
f881e9c5ce
Add table (#104)
* feat: Add format attribute to Target

* feat: Add support for Table panels

* Lint and basic bugs

* Separate class for each column style

* Validator for column style

* Rejigger some stuff with table columns

Allows us to preserve the following properties:

- "dumb" `to_json_data`
- constructor matches the underlying grafana data model
- convenience method for creating columns with styles

* Free upgrade!
2018-01-05 17:36:13 +00:00
Marcus Cobden
0f9e36ec4b Fix assumption that all commands have 1 argument 2017-07-18 16:38:57 +01:00
Marcus Cobden
6b1e07e0e5 Remove enabled/disabled flag 2017-07-13 10:47:05 +01:00
Marcus Cobden
9e9a8b87a7 Better split global options and command options 2017-07-13 10:13:59 +01:00
Marcus Cobden
0745e64839 Avoid name-mangling 2017-07-13 09:50:33 +01:00
Marcus Cobden
d722dcd32a Don't overcomplicate command interface 2017-07-13 09:49:55 +01:00
Marcus Cobden
ee34b4d601 Add app initialisation options 2017-07-11 10:01:01 +01:00
Jonathan Lange
480c3d9e0f Lint gfdatasource
Add missing import
2016-12-14 12:56:51 +00:00
Jonathan Lange
162cda4413 Fix problems compiler would have caught 2016-12-14 12:36:28 +00:00
Jonathan Lange
b447c507a1 Correct URL for Grafana API 2016-12-14 10:43:18 +00:00
Jonathan Lange
bb04913b01 gfdatasource, but in Python 2016-12-13 17:17:41 +00:00