Skip to main content

3 docs tagged with "JavaScript Code"

View All Tags

Custom Code

Custom code allows you to access the panel's options, REST API responses, form elements, and various Grafana services.

ECharts Function

setOption(options) is the primary function in the Apache ECharts library. It is depicted as a square on the right in the schema below. This function gets called by the Apache ECharts panel (the ECharts Function) with only one required parameter options.

JavaScript Code

Dynamic Text Panel supports the integration of JavaScript code snippets that can add Handlebars helpers and event handlers.