Insights Dashboard
Browse and manipulate charts created by the current user.
Last updated
Was this helpful?
Browse and manipulate charts created by the current user.
Last updated
Was this helpful?
Was this helpful?
Set up a new instance with config
parameters and set
/get
methods:
const insightsDashboard = appmixer.ui.InsightsDashboard(config)
insightsDashboard.set(key, value)
insightsDashboard.get(key)
config.el
...
insightsDashboard.state(name, value)
loader
Type: Boolean
| Default: null
Toggle a custom loading state.
error
Type: String
| Default: null
Toggle a custom error message.
insightsDashboard.on(event, handler)
chart:clone
insightsDashboard.on('chart:clone', chartId => {/* ... */})
Clone chart.
chart:remove
insightsDashboard.on('chart:remove', chartId => {/* ... */})
Remove chart.
chart:open
insightsDashboard.on('chart:open', chartId => {/* ... */})
Open chart in Chart Editor.
const insightsDashboard = appmixer.ui.InsightsDashboard({
el: '#insights-dashboard'
})
insightsDashboard.open()