Category Archives: Phil

Phil 10.24.12

8:00 – 4:00 ESSO

  • Working on getting auto colors to work properly in trend widget.
  • 10:00 Meeting to talk to GAO folks. I think that went well. There will be a followup meeting.
  • Continued to beat on getting autopallete working for TrendWidget. After stepping through the ThresholdColumnRederer and figuring that out, I wound up with the same wrong coloring that I was getting when I ran the fill function from within the TrendWidget. The problem was that the ChartItem index was referring to each *cluster* of columns, not the columns within the cluster. As a hack to get around this, I put an Array in TrendWidget that counts the yFields that are passed to the field function. The *index* of the yFields is then used as the hue angle. Anyway, here’s the code:
protected function setColumnSeriesColor(element:ChartItem, index:Number):IFill {
	var yFieldName:String = "_unset_";
	var o:Object = element.element;

	// check if the yFieldName is in an array. if it is, then get the index. if not, add and get the index.
	if(o.hasOwnProperty("yField")){
		yFieldName = o.yField;
		if(_yfieldNameArray.lastIndexOf(yFieldName) == -1){
			_yfieldNameArray.push(yFieldName);
		}
		index = _yfieldNameArray.lastIndexOf(yFieldName);
	}
	return ColorUtil.setSeriesColor(element, index);
}
  • Next is getting the line charts to work with the color scheme.
  • Oh yeah, and add dataTip formatting to pie charts in QueryWidgetBase.

Phil 10.23.12

8:00 – 2:00 ESSO

  • Backups and housecleaning
  • Installed new vis2.swf. Not happy yet with the colors, but the commas work.
  • Talked to Lenny about FACTS
  • Got some heads up on tomorrow’s meeting.
  • Working with colors. I’m going to increment a fixed amount off of the border color – see how that works. Well – I think:
  • Well, that seems to work nicely:

Phil 10.22.12

8:00 – 9:45 ESSO

  • Backups
  • Updated the index.html page to mention that we are production!
  • Made a printout of the xml that describes the FlexiChart that we’re using, and I think I figured out what the issue with the tooltips is. The yField does not exist as a row in the table. I need to get what the label and the mapping is for each row (series?) from the flexiChart.

9:45 – 12:15 FP

  • How users make applications fit their needs. Or, how users misuse Excel, Outlook, and PowerPoint.

12:15 – 4:00 – ESSO

  • Digging into FlexiChart to see if I can get the series information and use it in the dataTip function. Done and working.

 

Phil 10.19.12

8:00 – 4:00 ESSO

  • Deployed new Vis2 and PA. Vis2 still needs some work with autocalculating colors, and tooltip values are being lost in some of the FlexiCharts.
  • We do have a production machine. It’s the one labeled ‘test’. Declare victory and move on!
  • VisTool Meetings are now every other Thursday starting next week
  • Added a minimum saturation value as well as min and max hue angle steps in the auto color code
  • Extended printing of FlexiChart tooltips to show all data names and values to see why things are not showing up in the on-site tooltips
  • We really do need to incorporate this – xkcd-style plots

Phil 10.18.12

8:30 – 2:30 ESSO

  • Backups
  • Some back and forth with Denise about servers. It turns out that she moved, and is in HQ now.
  • Some talk with Jim G. about OSGI issues on some of their work
  • It looks like there may be a demo on the 24th for GAO?

2:30 – 4:30 FP

  • Qualitative Methods and HCI

Phil 10.17.12

9:30 – 4:00 ESSO

  • Dentist this morning
  • More tracing of where the tooltip functionality is handled in FlexiChart. I’m starting to think it’s the default behavior, so I’m working on getting a data tip function to extract what’s going on and insert the appropriate text and values.
  • Wound up adding a dataTipFunction at the <flexichart:FlexiChart/> level that got the displayName from the HitData.element, which in this case is always going to be a series of some kind. The display name allows me to get the correct value from the item data Object, which is then formatted.
  • Still need to bring all the colors in line with the values that are now calculated from the palette.
  • Added in change logs to VISIBILITY.

Phil 10.15.12

Phil 8:30 – 4:30

  • Backups and such. All is quiet. Even fixed a typo or two.
  • Decided to put all the HSB code in  com.edgeti.EdgeUtils.color.HsbObject. Once that’s working, I’ll put it in FGMFlexUtils45, since it’s probably going to be pure Actionscript.
  • Well, I’ll be. It ran the first time!
  • Starting on adding formatted tooltips for numbers. Started to build a formattedDataTip function in AdvancedQueryWidget. Need to pull the name and value from the HitData, then check to see if the value is a number, and if so, add commas and decimal places. Still need to figure out where this is done in FlexiChart, but it will (should?) be the same code.

Phil 10.12.12

8:00 – 4:00 ESSO

  • Backups – all is well.
  • Farewell lunch for Jessica
  • Working on color recognizing code. Editor freaked out and gave warnings for items inherited from QueryWidgetBase and WidgetBase. Solved mysteriously after some flailing. Probably closing and re-opening the project fixed it.
  • Got the main piece of the color code working, but I can’t have a hybrid model that lets the default color scheme take over once I’ve run out of custom colors. So I’m converting the RGB of the two theme colors and calculating a family of colors in HSB space. This will be nicer anyway, since the theme will now be usable on the pie chart and will make the other charts look a little better.
  • Neat video on data visualization and ‘data foraging’: http://www.youtube.com/watch?v=_IbTZBMHiY4

Phil 10.11.12

ESSO 8:00 – 2:00

  • Finished putting FlashBuilder back together
  • Adding bar column and pie chart awareness of color, if available
  • Burned updates and status report
  • Status meeting at 10:30
  • Starting on setting color to match words in columns

Phil 10.10.12

7:30 – 4:30 ESSO

  • Demo for Col. Dukes.
    • For a column where the items are colors, the bar/pie/column should match that color
    • Need to add commas and remove decimal places to tooltip renderer
    • Tried to open Flashbuilder, but no luck. Spent the rest of the day re-installing everything.
  • Need to bring in my status tomorrow along with patch disk
  • GWT Chapter 3
    • Chapter 3 example code compiles and runs!

Phil 10.9.12

8:00 – 2:00 ESSO

  • Backed up everything
  • Had an odd problem with what boiled down to a FY Month zero problem on the script that produced charts showing who had projects that had listed the same amount spent between the current month and the previous month. Since there was no month before October (Month 1), the SQL query crashed. Fixed by adding a test to see if the month was October, and adding a “no data available” case to the logic of the script.
  • It appears that the Ingest Manager my still be trying to merge tables. Dong’s going to test this (and add in the ChangeLog?). THe correct behavior should be a DROP TABLE

2:00 – 4:00 FP

  • QM

Phil 10.5.12

8:00 – 4:00 – ESSO

  • Backups
  • Uploaded new data for presentation on Wednesday
  • Discovered that the filter set up for VSS was interfering with http://localhost calls (“not authorized web page”). Since we really don’t need the filter there, I put in an HTML redirect for the test applet and turned off the filter and the test applet in web.xml. Everything should be working now, but rather than going and re-ingesting everything, I’m going to let the timed tasks run and check up on them on Tuesday.
  • Talked to Jessica and Larry about the “Reconcile” option, which they likes. Dave W was listening, and approved.
  • GWT chapter 3. Downloaded code from Manning.
  • Discussion with GAO folks about their app this afternoon.

Phil 10:4.12

8:00 – 2:00 ESSO

  • GWT Chapter 2
  • Installing Web development tools in Eclipse. I need an HTML editor!
    • The Juno Web Page Editor is quite nice. WYSIWYG, with linking (highlights) between the source and the rendered page. Design and preview tabs.
  • Progress meeting at 10:00 – nope, cancelled for an impromptu sometime next week.
  • GWT Chapter 3