ACE-IoT-Solutions / ace-svg-react

Grafana SVG Rendering Panel using the 7+ Plugin Framework
https://grafana.com/grafana/plugins/aceiot-svg-panel/
MIT License
40 stars 14 forks source link

Example provided does not work. It only works if 'context' is changed into 'option' #29

Closed miq28 closed 2 years ago

miq28 commented 2 years ago

Hi,

Awesome plugin guys 👍, I'm coming from a previous snap.svg plugin user and this plugin is big step-up!

I am on Grafana 8.3.3 and I installed the plugin using grafana-cli. I cannot make the provided example to work unless I change the context into options in both Init and Render section.

I changed this context.animateLogo

into this options.animateLogo

Can you help.. am I missing something..?

Animation

acedrew commented 2 years ago

This could be as simple as a mistake in the example code, @evannorton can you take a look and update the example to match the current implementation?

Andrew

evannorton commented 2 years ago

This could be as simple as a mistake in the example code, @evannorton can you take a look and update the example to match the current implementation?

Andrew

For sure!