Hello,
I've been trying, without much luck, to create a visualization plugin in the latest version (7.3) in React.
My question is, how can I control the visualization "play" button, how can I control when it can be clicked or not?
Hello,
I've been trying, without much luck, to create a visualization plugin in the latest version (7.3) in React.
My question is, how can I control the visualization "play" button, how can I control when it can be clicked or not?
Hi Carlos,
the apply button should work correctly if your editor correctly implements changing parameters. Are you using an Angular implementation for the editor or a React implementation?
You can find a sample visualization in the repository (https://github.com/elastic/kibana/blob/master/test/plugin_functional/plugins/kbn_tp_custom_visualizations/public/self_changing_vis/self_changing_editor.js) which you can use for a react editor as a reference. Please make sure to select the appropriate branch when looking at this, since the API has changed in the last minor version(s).
Cheers,
Tim
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.