TimeSeries variable
TimeSeries variable
Signature
TimeSeries: React.FunctionComponent<{
timeZone: string;
options?: Record<string, any> | undefined;
fields?: import("../GraphNG/types").XYFieldMatchers | undefined;
children?: ((builder: UPlotConfigBuilder, alignedFrame: DataFrame) => React.ReactNode) | undefined;
legend: import("@grafana/schema").VizLegendOptions;
height: number;
width: number;
timeRange: TimeRange;
frames: DataFrame[];
structureRev?: number | undefined;
renderers?: import("../uPlot/config/UPlotConfigBuilder").Renderers | undefined;
tweakScale?: ((opts: import("../uPlot/config/UPlotScaleBuilder").ScaleProps, forField: import("@grafana/data").Field<any, import("@grafana/data").Vector<any>>) => import("../uPlot/config/UPlotScaleBuilder").ScaleProps) | undefined;
tweakAxis?: ((opts: import("../uPlot/config/UPlotAxisBuilder").AxisProps, forField: import("@grafana/data").Field<any, import("@grafana/data").Vector<any>>) => import("../uPlot/config/UPlotAxisBuilder").AxisProps) | undefined;
onLegendClick?: ((event: import("..").GraphNGLegendEvent) => void) | undefined;
preparePlotFrame?: ((frames: DataFrame[], dimFields: import("../GraphNG/types").XYFieldMatchers) => DataFrame) | undefined;
}>
Import
import { TimeSeries } from '@grafana/ui';