NatelEnergy / grafana-plotly-panel

Show plotly graph in grafana panel
MIT License
145 stars 58 forks source link

Plotting multiple time series's #9

Closed m0nhawk closed 6 years ago

m0nhawk commented 7 years ago

Is it possible to plot several time series's on one plot?

I'm working with daily stocks data and there are multiple values for each timestamp: Open, Close and Avg of the same magnitude (so, I don't need an additional Y axis).

For now I can only plot one of it, but I'd like to plot all at once.

It would be nice to have such feature.

ryantxu commented 7 years ago

yes, i would love to figure out the best way to have multiple traces. Just like in:

https://plot.ly/create/

iotgopher commented 6 years ago

are you talking about something like this?

https://plot.ly/create/?fid=chelsea_lyn:14921

My proposal for managing this in the plugin modifying the "Display Tab":

I guess the backend would have to be modified to save this additional configuration data in the database and use the plotly JS to render up to 3 series instead of 1

That would be awesome!

iotgopher commented 6 years ago

Hi @ryantxu do you have any feedback on my proposal?

ryantxu commented 6 years ago

yes, proposal sounds great. I don't have time to work on it soon. but pull requests are always welcome!

iotgopher commented 6 years ago

hey @ryantxu do you think you will add this feature? Thanks for the great plugin

ryantxu commented 6 years ago

It would be great. It is not on my immediate need/TODO list, but patches are always welcome

Anna-Fedorova commented 6 years ago

Yeah, I also faced with the problem to have x-y chart with multiple plots It would be nice to have such opportunity

hami0314 commented 6 years ago

+1

ryantxu commented 6 years ago

supported in 0.0.5... will try to release soon, but test off master if you have a chance 😃