Skip to content
Discussion options

You must be logged in to vote

Largely, yes, with the current implementation. The auto-naming logic and the chart_name override only run on the path that persists the chart through CreateChartCommand, which is gated behind save_chart=True [1] [2]. With save_chart=False, generate_chart returns form_data and an explore_url/form_data_key for the preview, but that form_data carries no slice_name. The documented preview-mode example shows a response containing only viz_type, x_axis, and metrics [3]. Neither the auto-generated name nor an explicit chart_name gets attached to a preview-only chart.

There are two workarounds that keep save_chart=False. You can type the title in the Explore Save dialog when the chart is eventua…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@vhogberg
Comment options

@dosubot
Comment options

Answer selected by vhogberg
@vhogberg
Comment options

@dosubot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant