Skip to content

Commit

Permalink
add visConfig.title to pipeline visualization function
Browse files Browse the repository at this point in the history
- To be consistent with visualizations built with "buildPipelineVisFunction".
- To provide "title" information for visualizations.
  • Loading branch information
fbaligand authored Nov 27, 2020
1 parent 31c1ca0 commit e591192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/visualizations/public/legacy/build_pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export const buildPipeline = async (vis: Vis, params: BuildPipelineParams) => {
} else {
const visConfig = { ...vis.params };
visConfig.dimensions = schemas;
visConfig.title = title;
pipeline += `visualization type='${vis.type.name}'
${prepareJson('visConfig', visConfig)}
metricsAtAllLevels=${vis.isHierarchical()}
Expand Down

0 comments on commit e591192

Please sign in to comment.