I'm running into an issue with the code for the Track My Mood project (Data Using Bar Graphs and Pie Charts module). I've followed the instructions provided in the project (screenshots are linked here and here
When I go to test the app out, I get the error message: invoke: unable to invoke method Clear in object of type boolean. Irritants: () Note: You will not see another error reported for 5 seconds.
The template that I downloaded didn't have the components included however the instructions for the project walked me through what to add. I didn't add anything that wasn't included in the instructions.
There is a trick I think you can use. Basically, for each category you can nest two HorizontalArrangements within each other. You make the outer category "Fill Parent" and then set the WidthPercent of the inner to be the fraction of the data, e.g., (number of class observations)/(total observations) * 100. The outer then serves as a background (possibly transparent, but up to you) and the inner one draws the "bar" of the chart (set its background color to something useful, e.g., red, green, etc.).
Here's an example app that shows this working for 3 categories: iOSChartWorkaround.aia (2.5 KB)
It's important to note here that the Width/Height percents are calculated as a total of the screen's width/height, not the parent component. This is why in the project I have the horizontal arrangements on separate lines from their labels.