TimeSeries variable

TimeSeries variable

Signature

  1. TimeSeries: React.FunctionComponent<{
  2. fields?: import("../GraphNG/types").XYFieldMatchers | undefined;
  3. width: number;
  4. timeZone: string | string[];
  5. options?: Record<string, any> | undefined;
  6. children?: ((builder: UPlotConfigBuilder, alignedFrame: DataFrame) => React.ReactNode) | undefined;
  7. legend: import("@grafana/schema").VizLegendOptions;
  8. height: number;
  9. timeRange: TimeRange;
  10. frames: DataFrame[];
  11. structureRev?: number | undefined;
  12. renderers?: import("../uPlot/config/UPlotConfigBuilder").Renderers | undefined;
  13. tweakScale?: ((opts: import("../uPlot/config/UPlotScaleBuilder").ScaleProps, forField: import("@grafana/data").Field<any, import("@grafana/data").Vector<any>>) => import("../uPlot/config/UPlotScaleBuilder").ScaleProps) | undefined;
  14. tweakAxis?: ((opts: import("../uPlot/config/UPlotAxisBuilder").AxisProps, forField: import("@grafana/data").Field<any, import("@grafana/data").Vector<any>>) => import("../uPlot/config/UPlotAxisBuilder").AxisProps) | undefined;
  15. onLegendClick?: ((event: import("..").GraphNGLegendEvent) => void) | undefined;
  16. preparePlotFrame?: ((frames: DataFrame[], dimFields: import("../GraphNG/types").XYFieldMatchers) => DataFrame) | undefined;
  17. }>

Import

  1. import { TimeSeries } from '@grafana/ui';