Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
d54851f8
Unverified
Commit
d54851f8
authored
Aug 09, 2019
by
Tobias Skarhed
Committed by
GitHub
Aug 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Chore: strictNullChecks, ColoringEditor and time_region_manager (#18442)
* Make swicth booleans non-optional
parent
4e29357d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
public/app/plugins/panel/graph/time_region_manager.ts
+2
-2
public/app/plugins/panel/singlestat2/types.ts
+8
-4
No files found.
public/app/plugins/panel/graph/time_region_manager.ts
View file @
d54851f8
...
...
@@ -4,8 +4,8 @@ import { GrafanaThemeType, getColorFromHexRgbOrName } from '@grafana/ui';
import
{
dateTime
,
DateTime
,
AbsoluteTimeRange
}
from
'@grafana/data'
;
type
TimeRegionColorDefinition
=
{
fill
:
string
;
line
:
string
;
fill
:
string
|
null
;
line
:
string
|
null
;
};
export
const
colorModes
:
any
=
{
...
...
public/app/plugins/panel/singlestat2/types.ts
View file @
d54851f8
...
...
@@ -13,10 +13,10 @@ export interface SingleStatOptions extends SingleStatBaseOptions {
prefixFontSize
?:
string
;
valueFontSize
?:
string
;
postfixFontSize
?:
string
;
colorBackground
?
:
boolean
;
colorValue
?
:
boolean
;
colorPrefix
?
:
boolean
;
colorPostfix
?
:
boolean
;
colorBackground
:
boolean
;
colorValue
:
boolean
;
colorPrefix
:
boolean
;
colorPostfix
:
boolean
;
sparkline
:
SparklineOptions
;
}
...
...
@@ -44,4 +44,8 @@ export const defaults: SingleStatOptions = {
},
fieldOptions
:
standardFieldDisplayOptions
,
orientation
:
VizOrientation
.
Auto
,
colorBackground
:
false
,
colorValue
:
false
,
colorPrefix
:
false
,
colorPostfix
:
false
,
};
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment