Files
grafana/public/app/plugins/panel/state-timeline/panelcfg.gen.ts
Kevin Putera 01fc31069f StateTimeline: Add pagination support (#89586)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-08-08 21:44:17 -05:00

53 lines
1.1 KiB
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 ui from '@grafana/schema';
export interface Options extends ui.OptionsWithLegend, ui.OptionsWithTooltip, ui.OptionsWithTimezones {
/**
* Controls value alignment on the timelines
*/
alignValue?: ui.TimelineValueAlignment;
/**
* Merge equal consecutive values
*/
mergeValues?: boolean;
/**
* Enables pagination when > 0
*/
perPage?: number;
/**
* Controls the row height
*/
rowHeight: number;
/**
* Show timeline values on chart
*/
showValue: ui.VisibilityMode;
}
export const defaultOptions: Partial<Options> = {
alignValue: 'left',
mergeValues: true,
perPage: 20,
rowHeight: 0.9,
showValue: ui.VisibilityMode.Auto,
};
export interface FieldConfig extends ui.HideableFieldConfig {
fillOpacity?: number;
lineWidth?: number;
}
export const defaultFieldConfig: Partial<FieldConfig> = {
fillOpacity: 70,
lineWidth: 0,
};