Skip to content

Commit 91ff8e4

Browse files
author
Daniil
authored
Explicitly pass params (#84107)
1 parent cac95a3 commit 91ff8e4

File tree

1 file changed

+6
-1
lines changed
  • src/plugins/vis_type_tagcloud/public

1 file changed

+6
-1
lines changed

src/plugins/vis_type_tagcloud/public/to_ast.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,14 @@ export const toExpressionAst = (vis: Vis<TagCloudVisParams>, params: BuildPipeli
4444
});
4545

4646
const schemas = getVisSchemas(vis, params);
47+
const { scale, orientation, minFontSize, maxFontSize, showLabel } = vis.params;
4748

4849
const tagcloud = buildExpressionFunction<TagcloudExpressionFunctionDefinition>('tagcloud', {
49-
...vis.params,
50+
scale,
51+
orientation,
52+
minFontSize,
53+
maxFontSize,
54+
showLabel,
5055
metric: prepareDimension(schemas.metric[0]),
5156
});
5257

0 commit comments

Comments
 (0)