Ubidots Community

Sine wave chart

Hello,

Is there a option of sine wave chart on the dashboards?

Im not be able to paste a image here, the idea would be to plot a chart in the wave form where it is possible to see the frequency.

Thanks!

Greetings, we do not have any pre-defined chart. Our line chart widget plots values stored in your variables as time series. If you need to plot a sine wave, you should sample it, maybe using 1000 samples, and store those samples as time linespaced dots in a variable to be plotted using the line chart widget. You can find a reference example, not to plot sine waves but lissajous graphs in this article.

All the best.