I gave myself a home project to implement to get more experience with Perspective.
The project is to collect data from a website’s api and show it on a chart on my phone.
I chose to get weather info for my gps coordinates from OpenWeather and so I have a gateway event timer script configured to run every 10 minutes that gets the data and puts them into memory tags that I have enabled tag history on.
I then placed a Time Series Chart component on a screen and configured it to show a set of temperature tags (actual, apparent, minimum and maximum). I have these showing nicely on the chart.
The temperatures coming in are in Kelvin and i would like to have a radio group on the screen to switch between Kelvin, Celcius and Fahrenheit.
C = K - 273.15
F = (K - 273.15) × 9/5 + 32
How/where can I add calculated datasets such as these to my chart’s properties?