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
...
Learn about widget
config
here.
Instance
Learn about widget
instance here.
State
insightsChartEditor.state(name, value)
loader
Type: Boolean
| Default: null
Toggle a custom loading state.
error
Type: String
| Default: null
Toggle a custom error message.
Events
insightsChartEditor.on(event, handler)
close
insightsChartEditor.on('close', () => {/* ... */})
Close the editor.
Example
const insightsChartEditor = appmixer.ui.InsightsChartEditor({
el: '#insights-chart-editor'
})
insightsChartEditor.open()