I’ve made some code which enables you to plot some data on a graph. It’s pretty simple method - just builds the graph from a StackPanel of columns 1 pixel wide with a red pixel at the corresponding Y-value (in my case temperature).
It works well, building the graph based on my internally calculated data, but what I can’t seem to do it get it to re-draw when the data changes. The bruit force way I’ve built it is what I suspect to be the problem - there is an Image array with the hundred and sixty 1x160 pixel bitmaps (giving the temp range 16 to 24 in 0.05 degree increments.
I’m just wondering if anyone else has built a graphing tool, if people would be interested in this or have any ideas on how this could be improved.
[I’m coding on the EMX, but Mods please move if this should be in a different forum]