mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Transformers: Support adding the row index using calculate field transformer (#65148)
This commit is contained in:
@@ -37,6 +37,7 @@ interface CalculateFieldTransformerEditorState {
|
||||
const calculationModes = [
|
||||
{ value: CalculateFieldMode.BinaryOperation, label: 'Binary operation' },
|
||||
{ value: CalculateFieldMode.ReduceRow, label: 'Reduce row' },
|
||||
{ value: CalculateFieldMode.Index, label: 'Row index' },
|
||||
];
|
||||
|
||||
const okTypes = new Set<FieldType>([FieldType.time, FieldType.number, FieldType.string]);
|
||||
|
||||
Reference in New Issue
Block a user