[Ticket cloned from T14665: Visualization html + dropdown]
2) the dropdown seems to be strange as it seem to have no translation and both values are the same, how can i hide it?
[Ticket cloned from T14665: Visualization html + dropdown]
2) the dropdown seems to be strange as it seem to have no translation and both values are the same, how can i hide it?
Hello,
This dropdown allows users to select another type of a visualizer for a given question.
You can localize a custom visualizer in this dropdown using the following code:
JavaScriptimport { localization } from "survey-analytics";
localization.locales["en"]["visualizer_pollVisualizer"] = "Poll Visualizer";
localization.locales["de"]["visualizer_pollVisualizer"] = "Umfrage Visualizer";
I created the following demo for your reference: View Demo. In this demo, I unregistered the default Radiogroup visualizer and registered a custom Poll visualizer. Also, I changed the set dashboard locale to "de"
. Now, I don't see a visualizer selector.
Please let me know if you still see a visualizer selector with duplicate names.