Insights Chart Editor
Create charts to visualize logs of messages that passed through flows.

Configuration
Set up a new instance with config parameters and set/get methods:
const insightsChartEditor = appmixer.ui.InsightsChartEditor(config)
insightsChartEditor.set(key, value)
insightsChartEditor.get(key)config.el ...
config.el ...Instance
State
insightsChartEditor.state(name, value)loader
loaderType: Boolean | Default: null
Toggle a custom loading state.
error
errorType: String | Default: null
Toggle a custom error message.
Events
insightsChartEditor.on(event, handler)close
closeinsightsChartEditor.on('close', () => {/* ... */})Close the editor.
Example
const insightsChartEditor = appmixer.ui.InsightsChartEditor({
el: '#insights-chart-editor'
})
insightsChartEditor.open()Was this helpful?
