- working on Charting
- got services to return $http promise and working!
- Using AngularJS and TypeScript to Build Single Page Applications (SPA)
- changed service to factory by creating static factory method – ChartDataServiceFactory
- problems with POC section in Funding Request
- change the tabs to single grid that has check boxes for each type (Financial, Technical, and VizTool)
Category Archives: VISIBILITY
Phil 5.5.2015
7:30 – 3:30
- Was going to coordinate with Ronda, but she’s not here. Oh, she sent an email saying that her accesses were pulled. So backups….
- Status reports!
- Walked Dong through TypeScript/Angular factories and directives.
- Working on the standalone WebGL Chart Directive. And I’ve totally forgotten how to handle functions in a directive.
- Made an inherit7 sandbox. Can access the global and local part of the class. Need to make a template-url and clean up.
Dong Shin 05.04.2015
- finished self-assessment
- writing my first TypeScript module!
- got ChartDataService to work
- re-organized WglCharts codes and dependencies to FinancialAssistantService/WebContent/charts folder
- add code completion for TypeScript/Angular
- useful TypeScript/Angular example
Phil 5.4.15
7:00 – 10:00, 12:00 – 4:00 SR
- After a marathon writing session, I finished the first draft of the paper this weekend.
- Going to look into making a pure chart directive for static-ish information. Not sure how angular will treat it.
- Read Dong’s link about dependency injection. Very nice
- Helped Dong debug some. I think… The new injection scheme works too! Damn. Only for Controllers and Services.
- Tomorrow, we’ll get the data integrated and change the ng-switch to ng-route.
Dong Shin 05.01.2015
- deployed new FA with password change fix
- matching libs folder on-site for FinancialAssitantService
- working on Charting
- got AngularJS service working in WglChar2dQuery.html using service/service.js
- Proper Dependency Injection in Your AngularJS TypeScript Apps
- The Top 10 Mistakes AngularJS Developers Make
- self assessment…
Phil 5.1.15
8:00 – 4:30 SR
- Deployed the login fix
- And for some reason, my machine could only connect to Google when I came in. nslookup was timing out on dns1.wcc. Poking around seems to have fixed it.
- Helping Dong with the charting code.
Phil 4.30.15
8:00 – 4:00 SR
- In my defense, the 800 MB download includes a version of Angular and threeJS. With examples and documentation. So there :-b
- Got onto one of our new servers. It also looks like Ronda is able to transfer files, even if I can’t. The new process may be to ask Bill to send the files to her for upload. I do think that at the very least, we can have all three servers share a drive for uploads and updates.
- Spent most of the morning getting Dong up and running with the TypeScript dev environment. For some reason, Visual Studio interferes with GNUMake.
- Started walking through the TypeScript structure of the chart code. Tomorrow, we’ll try to integrate the dataprovider.
Dong Shin 04.30.2015
- Chrome’s Flash Debug Player has disappeared!
- Adobe now has separate ones for Chrome and Firefox
- installed the latest one
- Fixed Change Password issues in FA
- working on getting Phil’s Charting
- installed – GNU Make 3.81, WinSCP 5.72, WindMD5.exe and touch.exe to System32 folder
- had to remove Visual Studio – ts compiler conflict!
- got WebGlChart2D running on Tomcat
Dong Shin 04.29.2015
- downloaded Phil’s charting code – 800MB > !!!!
- fixed months array (mappings[0]) returning in incorrect order
- added 12 months data instead of 6 months for obligations/outlays goals
- found nice AngularJS charting at https://github.com/maxklenk/angular-chart
Dong Shin 04.28.2015
- continue working on the test app for Charting Data
- fixed a bug that returns data in reverse order of the months
- working with SimpleRegression math to get future prediction values
Phil 4.27.15
8:00 – 2:00 SR
- Ronda has gotten us some new servers debug, integration and production!
- She’s going to start by setting up Java, MySql and Tomcat of the debug server
- Mark came by with a login problem for FA. Some sort of remote object issue. Took a screenshot for Dong.
- Installing new WebStorm – done
- Dong finished the JSON code, now we need to integrate.
Dong Shin 04.27.2015
- working on Charting Data (future values) – done!
- working on little test Angular app for Charting Data
Dong Shin 04.24.2015
- working on future values
- org.apache.commons.math3.stat.regression.SimpleRegression
- y = mx + b where
- addData(double[][] data)
- m = getSlope(), b = getIntercept()
- added to config.properties
- futureMonthTypes=future_facts_oubligations,future_facts_outlays,future_pm_actuals
- future_facts_outlays=reportedFactsOutlays
future_facts_oubligations=reportedFactsObligated
future_pm_actuals=pmActuals
Phil 4.24.15
8:00 – 4:00 SR
- Filled out financial NDA
- Work on having two charts, then move into slideshow using ng-switch?
- two charts – check!
- WordPress on Win 8.1(?) now wants to make the edit area short. It can be temporarily stretched by using the HTML tab and dragging the lower right corner. Reverts after a save though.
- Two charts with two controllers – check! And inheritance is working perfectly. This is my entire second chart controller definition:
export class Chart2MainCtrl extends Chart1MainCtrl { constructor(timeout:ng.ITimeoutService) { super(timeout); this.dataFormat = { // might add 2D/3d, dynamic/static, etc. outlayGoals: {label:"Outlay Goals", objectName:"outlayGoals", type:"area", hexColor:0xFFAAAA}, obligationGoals:{label:"Obligation Goals", objectName:"obligationGoals", type:"area",hexColor:0xFFFFAA}, pm_actuals:{label:"PM Actuals", objectName:"pm_actuals", type:"bar",hexColor:0xAAFFAA}, facts:{label:"Facts", objectName:"facts", type:"bar",hexColor:0xAAAAFF}, future_pm_actuals:{label:"Future PMA", objectName:"future_pm_actuals", type:"area",hexColor:0x00FF00}, future_facts:{label:"Future FACTS", objectName:"future_facts", type:"area", hexColor:0x0000FF} }; } } - And this is how the Angular module uses them:
module AngularApp { // define how this application assembles. class AngularMain { appModule:ng.IModule; public doCreate( angular:ng.IAngularStatic, chart1Ptr:Function, chart2Ptr:Function, glDptr:Function) { this.appModule = angular.module('appMain', []). controller('glCtrl1',['$timeout', chart1Ptr]). controller('glCtrl2',['$timeout', chart2Ptr]). directive('ngWebgl', ['$timeout', glDptr]); } } new AngularMain().doCreate( angular, WGLA2D_ctrl.Chart1MainCtrl, WGLA2D_ctrl.Chart2MainCtrl, new WGLA2_dirtv.ngWebgl().ctor ); } - Adding slide controller. Had a brief fright when I forgot to add the ng-switch and just used the ng-switch-when. Everything works though. Uploading it to my server.
- Working with getting text and the graphs behaving well togther. And although I’ve written somewhere else in this blog, I can’t find my post of viewport relative CSS sizing, so here’s another link….
Phil 4.23.15
8:00 – 4:00 SR
- No change on network disks.
- Talked to Lenny about more statistical analysis of PM Actuals vs Facts. We can treat the reqs as the population and look for outliers. Ranked lists based on performance are a goal.
- Subversion was still having read/write problems. I attempted to change the URL, just to see what would happen (That didn’t work), but when I tried to check in again at the old Vis2 address, the checkin worked. It seems like the edit action did a chown on all the items in the repo. Good thing to know! Anyway, http://www.philfeldman.com/VisN2 is now working 🙂
- Migrating to my new dev box and laptop. That is a *lot* of monitors…


You must be logged in to post a comment.