Files
grafana/public/app/plugins/panel/stat/panelcfg.gen.ts
Drew Slobodnjak 14957953db Stat: Add percent change color modes (#88205)
* Stat: Add percent change color modes

* Apply color mode to percent change component

* Remove todo

* Create percent change color function and add tests

* drew08t/stat-percent-change-color-modes/ maybe fix import error?

---------

Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-05-24 14:45:02 -07:00

32 lines
956 B
TypeScript

// Code generated - EDITING IS FUTILE. DO NOT EDIT.
//
// Generated by:
// public/app/plugins/gen.go
// Using jennies:
// TSTypesJenny
// PluginTsTypesJenny
//
// Run 'make gen-cue' from repository root to regenerate.
import * as common from '@grafana/schema';
export interface Options extends common.SingleStatBaseOptions {
colorMode: common.BigValueColorMode;
graphMode: common.BigValueGraphMode;
justifyMode: common.BigValueJustifyMode;
percentChangeColorMode: common.PercentChangeColorMode;
showPercentChange: boolean;
textMode: common.BigValueTextMode;
wideLayout: boolean;
}
export const defaultOptions: Partial<Options> = {
colorMode: common.BigValueColorMode.Value,
graphMode: common.BigValueGraphMode.Area,
justifyMode: common.BigValueJustifyMode.Auto,
percentChangeColorMode: common.PercentChangeColorMode.Standard,
showPercentChange: false,
textMode: common.BigValueTextMode.Auto,
wideLayout: true,
};