NatelEnergy/grafana-plotly-panel

Plotting multiple time series's

m0nhawk opened this issue · 9 comments

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.

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

https://plot.ly/create/

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":

  • Keep in the "Plot" section only the "Options" items
  • Collapse "X Axis" and "Y Axis" sections into a section called "Series 1" along with "Markers" and "Lines" from "Plot"
    -Introduce two new sections "Series 2" and "Series 3" containing same as above

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!

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

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

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

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

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

+1

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