This question is locked. New answers and comments are not allowed.
I have the following array that holds temperatures and their respective reading dates/times:
data[] values;
To access the temperature value at i position:
values[i].value;
To access the reading date/time at i position:
values[i].date;
I want to build a simple chart that displays this two values, the temperature and the date/time.
The temperature values will be displayed in the chart as a line, and the date/time values will be displayed in the bottom of the chart on the xx axis. So far I managed to populate the chart with the temperature values but I can't find a way to dinamically bind the xx labels to my date/time values.
Thank you for your attention.
data[] values;
To access the temperature value at i position:
values[i].value;
To access the reading date/time at i position:
values[i].date;
I want to build a simple chart that displays this two values, the temperature and the date/time.
The temperature values will be displayed in the chart as a line, and the date/time values will be displayed in the bottom of the chart on the xx axis. So far I managed to populate the chart with the temperature values but I can't find a way to dinamically bind the xx labels to my date/time values.
Thank you for your attention.