ae3e / ae3e-plotly-panel

Plotly panel for Grafana
Apache License 2.0
98 stars 22 forks source link

How to add a trace? #37

Closed ybangaru closed 2 years ago

ybangaru commented 3 years ago

I don't see any examples of it and am quite confused because in the plotly js, it is done using the Plotly.addTraces(graphDiv, {y: [2,1,2]}); but there is no plotly object in grafana. Any thoughts?

matzl commented 2 years ago

I added an example in this Stackoverflow thread, maybe it helps: https://stackoverflow.com/a/70305224/2738240