Re: Modifying GADC example board file.
Posted: Tue May 07, 2013 6:09 am
Jep, what inmarket said.
When you want to create a bar graph like application, make sure you clear the area of the line/bar when you redraw it. You can optimize it by first checking if the value became smaller than the one currently being displayed.
Note that you could also use the already existing slider widget to display a bar graph. It gives you the advantage of the custom render interface which allows you to make it look like what ever you want.
~ Tectu
When you want to create a bar graph like application, make sure you clear the area of the line/bar when you redraw it. You can optimize it by first checking if the value became smaller than the one currently being displayed.
Note that you could also use the already existing slider widget to display a bar graph. It gives you the advantage of the custom render interface which allows you to make it look like what ever you want.
~ Tectu