The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/packages_api/ui/transformationseditor.md

2.2 KiB

+++

-----------------------------------------------------------------------

Do not edit this file. It is automatically generated by API Documenter.

-----------------------------------------------------------------------

title = "TransformationsEditor" keywords = ["grafana","documentation","sdk","@grafana/ui"] type = "docs" draft = true +++

TransformationsEditor class

Signature

export declare class TransformationsEditor extends React.PureComponent<TransformationsEditorProps, TransformationsEditorState> 

Import

import { TransformationsEditor } from '@grafana/ui';

Properties

Property Modifiers Type Description
onTransformationAdd () => void
onTransformationChange (idx: number, config: DataTransformerConfig<any>) => void
onTransformationRemove (idx: number) => void
renderTransformationEditors () => JSX.Element | undefined
state {
updateCounter: number;
}

Methods

Method Modifiers Description
render()

onTransformationAdd property

Signature

onTransformationAdd: () => void;

onTransformationChange property

Signature

onTransformationChange: (idx: number, config: DataTransformerConfig<any>) => void;

onTransformationRemove property

Signature

onTransformationRemove: (idx: number) => void;

renderTransformationEditors property

Signature

renderTransformationEditors: () => JSX.Element | undefined;

state property

Signature

state: {
        updateCounter: number;
    };

render method

Signature

render(): JSX.Element;

Returns:

JSX.Element