Category Archives: Flex Client

Mike 6.28.2010

  • Added labels to the StatusList item renderers on AdvancedQueryWidgets
  • Added the ability to change what field the labels were pulled from at run-time (not easy)
  • Added multiple selection to the StatusList
  • Selection changes made in the status list are now reflected in the data tab of AdvancedQueryWidgets
  • Added selection and multiple selection to the map component

Possible Bug and Interface Improvements

When making a tutorial to show the user how to group related questions when they save them I ran into a possible bug.  The problem is when I select the create charts after selecting the main category for all of the questions, the select * appears with all the others.  It only seems to happen when I select a main category that has an empty subcategory.  The following are the steps I took:

How To Group Multiple Questions into a drop down
This sections will explain how to group your saved queries so that you can differentiate yours from others and group up questions that have commonality with each other. This section will ask you to do things that were covered in previous sections. Although the steps for these techniques will not be explictly laid out, links to relevant sections will be provided in case you need a refresher on how to do something.
1. In the questions tab reveal the question editor, by clicking and dragging on the the three lines below create chart up.
2. Select example_cars from the list of tables.
3. In the Question Name field type in your user name.
4. Click add with the query field empty
5. Click on the new question that you just created
6. In the Question Name field type in Chevys
7. Click add child.
8. In the questions area note that the question with you username now has an arrow next it. Clicking on the arrow with expand it revealing the Chevys questions group. This process can be repeated over and over to make subgroups as needed.
9. Use the basic query builder to Create a chart with all cars
10. In the Query Panel select the make column using the Column Selector
11. Click on the Chevy bar on the chart and click the New Widget button.
12. Change the name of this new panel to All Chevys
13. Click on the Questions Tab select the example_cars chart and select the subcatergory you made for Cheveys
14. Type All Chevys in the Questions Name.
15. In the, All Chevys Query Panel, select Set Query Builder from the drop down in the lower right and click Go.
17. Click Add Child
18. Now select the Color Column from the All Chevys panel. Click the bar for Red on the chart and click New Widget
19. Change the name of the new Panel to Red Chevys
20. Make sure you still have example_cars and you user name->Chevys question group selected.
21. Type Red Chevys in the question editors name field and use the set Query builder button.
22. Click add child in the Question Editor
23. Close all the query panels that are open so that only the query builder is open
24. With the example_cars table selected, select your user name from the questions list by checking the check box
25.Click Create Charts

Instead of creating two charts it creates three, one being the select * which does not appear in any of the saved questions.  Some other improvements to simplify things for the users would be if when you click set query builder it automatically makes the name whatever the title of the Panel is.  Also when you create a panel the question name should appear as the panel name.  Currently there is a lot of bouncing back and forth between the panel and the query builder.

Mike 1.17.10

  • Back from a long vacation, it’s amazing how screwed up workspaces can get when you don’t touch them, fixed several build issues which turns out to be a waste of time 3 bullets down
  • Fixed several issues with the TrendWidget PieChart and BarChart
  • Added a more descriptive title instead of ‘Trend Widget’
  • Realized I was working on the wrong workspace and checking in to the wrong place, changed workspaces and found nothing working, deleted the workspace and redownloaded, copied my changes over and checked them in in the correct place

Mike 11.08.09

  • Was very confused about an error I kept getting when trying to build a basic chart, turns out “Details” is now the default selected tab in the query builder  instead of “Basic”
  • Modified TrendWidgets to run their own queries instead of directly taking data from QueryWidgets
  • Enabled saving / loading of TrendWidgets with all the standard features:
    • Query and trended rows saved
    • Column order and size saved
    • Selected column (for pie chart) saved
    • Current chart / table being view saved

Mike 9/15/09

  • Have the map nicely formatted in a XML / SVG format.  Canada for example is described by a group of vector shapes: the mainland + lots of islands.  The hierarchy can later be expanded to break it down by province or smaller if we choose.
  • Working on having Degrafa read in the xml at run-time and create an interactive map instead of hard-coding some 180 countries as components.
  • After several hours of digging through source code, I did what forum after forum of Degrafa users couldn’t: add Degrafa objects at run-time!  Now I can build my map…