/* Chong Zhang */
Trajectory Data Visualization
// 3/26/2015
adjusted color
// 3/24/2015
add force to prevent overlap on node
// 3/22/2015
- add allday.html
- separate node size setting from code
- adjust color coding
// 3/19/2015
- Road network color mapping as time specified
- Rosechart tooltip bug
// 3/18/2015
- Made rosechart arcs readable when clicking
- Round rosechar tooltip to 4 decimal place
- Fixed rosechar arc radius scale
- Added time select tag holding timeticks from 0 - 12 whichi will affect nodelink, rose, and road
- Aggregated partition flow, speed, and traveltime for allday prop
- Added traffic info to the nodelink graph radio buttons
- Broaden line on the linechart when mouse over it
- Fixed linechart select tag bug. It will not affected by the select tag on the nodelink graph
- Foxed x axis label position on the linechart
// 3/17/2015
- Add a muli-line graph for time series
// 3/13/2015
minor edits:
- Add selection toggle on the node-link graph
- Add label disply onto RoseChart
- Remove zooming out of the node-link graph
// 3/13/2015
- Align control panel and map view side by side.
- Change circle to rect in the node-link graph and adjust label position according to its width
- Add zooming to the node-link graph
- Add mouseover interaction onto the node-link graph, which provides a way to look at the link direction
- Add Multi-select function to the node-link graph.
- Modify map filtering
// 3/11/2015
May delay because of the way of GeoJSON reading and rendering in OpenLayers and broswer.
- Change color definition as Xiaoke suggested.
- Separate control panel from map view
- Have nodelink graph, Rosechart, and detailed routes encode with same color coding
// 3/10/2015
Basically, the more you use the faster it become.
//////////////////////////// //// Interaction //// ////////////////////////////
- Mouse wheel to zoom map
- Click dot on the map to filter routes and Rosechart
- Click top right button to go back the original map
- Click top buttons to change the color setting for routes and Rosechart
//////////////////////////// //// Customermize //// ////////////////////////////
- variable name for patitioned graph was set 'graphdata' (no data structure changed)
- variable name for detailed routes was set 'routesdata' (no data structure changed)
- Custome map/RoseChart color by changing values of colorSettings in scripts\settings.js
- Change RoseChart inner-size/outer-size by editing values of roseSettings in scripts\settings.js
- For better performance, we may need to store the detailed routes data in a server offering Web Map Service.