Commit Graph

8 Commits

Author SHA1 Message Date
Ryan McKinley
e7710f0c66 Thresholds: get theme from context automatically (#22025)
* get theme from context for thresholds

* remove theme

* use theme context

* remove theme from gauge/bargauge
2020-02-08 13:59:26 +01:00
Torkel Ödegaard
27a77f588c StatPanel: Refactoring & fixes (#21437)
* refactoring BigValue layout to use polymorphism

* Renamed file

* StatPanel: Fixed min & max handling, white theme background

* Typescript and test fixes

* Fixed justify center logic

* Updated test dashboard

* Updated test dashboard

* Adjust time xMax to align with last data point if it's close

* Fixed color issue

* removed text shadow

* Removed unused stuff

* Fixed auto min max

* Fixed strict typescript issues

* Updated
2020-01-13 09:41:35 +01:00
Ryan McKinley
d9e9843a10 FieldConfig: add thresholds and color modes (#21273) 2019-12-28 17:32:58 -08:00
Ryan McKinley
6de4933a4a FieldConfig: set min/max automatically for gauge (#21073) 2019-12-13 08:36:49 -08:00
Ryan McKinley
1aa39ee458 FieldConfig: support overrides model (#20986) 2019-12-12 14:55:30 -08:00
Torkel Ödegaard
4b8a50e70b StatPanel: change to beta 2019-12-04 21:34:33 +01:00
Torkel Ödegaard
8894e2858c StatPanel: ColorMode, GraphMode & JustifyMode changes (#20680)
* StatPanel: Options rethink

* Changed options to string based

* -Fixed tests

* Refactoring moving files

* Refactoring alignment factors

* Added alignment factors

* Added basic test

* Added unit test for layout

* Font size handling

* Font sizing works

* Progress on sizing

* Updated

* Minor update

* Updated

* Updated

* Removed line option

* updated

* Updated

* Updated

* Updated

* Highlight last point

* Fixed tests

* Code refactoring and cleanup

* updated

* Updated snapshot
2019-12-01 17:02:44 +01:00
Torkel Ödegaard
665079dc8c StatPanel: Rename singlestat2 to stat (#20651) 2019-11-25 16:13:14 -08:00