文件操作 - types.ts
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/public/app/plugins/panel/gauge/types.ts
编辑文件内容
import { VizOrientation, SelectableValue } from '@grafana/data'; import { SingleStatBaseOptions } from '@grafana/ui/src/components/SingleStatShared/SingleStatBaseOptions'; export interface GaugeOptions extends SingleStatBaseOptions { showThresholdLabels: boolean; showThresholdMarkers: boolean; } export const orientationOptions: Array<SelectableValue<VizOrientation>> = [ { value: VizOrientation.Auto, label: 'Auto' }, { value: VizOrientation.Horizontal, label: 'Horizontal' }, { value: VizOrientation.Vertical, label: 'Vertical' }, ];
修改文件时间
将文件时间修改为当前时间的前一年
删除文件