Configure Visuals Using Visualization Variables
When a Composer visual is embedded into a custom application, it uses the default settings determined by the metrics and fields or groups present in the data query that supplies the visual with data. For more information about configuring and creating a data query, see Query Configuration Object or Use a Data Query.
When embedding a visual, you also have the option of overriding default configurations by modifying the configuration of visual settings. You modify the default settings with the variables key in the parameter passed to the
visualize() method.
Before you can encode settings into an embedded visual, you must identify every required setting as well as any optional settings that you wish to use. Visual settings can be identified using an internal REST API method. The REST API method used in these steps is considered internal to the Composer application. Internal APIs should not be used except as directed. For more information about using internal APIs, see
Cautionary Note About Internal APIs.
Comments
0 comments
Please sign in to leave a comment.