diff --git a/grafonnet-7.0/panel/table.libsonnet b/grafonnet-7.0/panel/table.libsonnet index 981d1ea2..640ca18f 100644 --- a/grafonnet-7.0/panel/table.libsonnet +++ b/grafonnet-7.0/panel/table.libsonnet @@ -130,5 +130,16 @@ target, ] }, + addTransformation( + id=null, + options=null + ):: self {} + + { transformations+: [ + { + [if id != null then 'id']: id, + [if options != null then 'options']: options, + }, + ] }, + }, }