Data with decimals not scaling properly in channel stat graphs
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
BRIAN MINOR
el 1 de Nov. de 2020
Comentada: Christopher Stapels
el 3 de Nov. de 2020
My data is posting to ThingSpeak without issue, but I have two fields that involve decimals. The plots on those charts on the channel stats page show up on the X axis. I thought they were being plotted as zeros because of formatting issues, but it turns out it's a scaling issue. If I manually adjust the min and max on the y axis to scale, the data plots properly. What would be causing this scaling issue if the data is being recognized correctly? My data that does not involve decimals has always been properly centered.
Edit: I should add that this is happening when I'm using a ThingSpeak library. It wasn't happening when I was sending data through AT commands on my ESP8266. The ThingSpeak was transmitting the data more reliably, though.
2 comentarios
Christopher Stapels
el 2 de Nov. de 2020
The library does make sure all data gets formatted as strings before sending. Usually ThingSpeak is able to convert the strings to the appropriate format for plotting. Perhaps something is being padded into the value, such as a space? You can look at the data using the "export recent data" button on the channel view.
Respuesta aceptada
BRIAN MINOR
el 3 de Nov. de 2020
1 comentario
Christopher Stapels
el 3 de Nov. de 2020
Thanks for letting us know you got it working! Autoscaling with not a lot of data can lead to strange views.
Más respuestas (0)
Comunidades de usuarios
Más respuestas en ThingSpeak Community
Ver también
Categorías
Más información sobre Visualize Data en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!