Enhanced DataTip

AgePieChartTip.sml: Display Control Script that shows a pie chart in the DataTip and allows information from other layers to be shown as well. Example shows percentage population in different age groups for census blocks in Lancaster County, NE. AgePieChartTip.sml
TechGuideDesigning Complex DataTips
AspectTip1.sml: Each of the three sample control scripts reads the cell value under the mouse cursor from an ASPECT raster layer, creates a graphic with a pointer showing this aspect direction, and creates formatted text to report the numerical value. AspectTip1.sml shows only the aspect graphic with no DataTip background. AspectTip2.sml embeds the graphic in the normal colored DataTip background and border, but shows no information from other layers in the layout. AspectTip3.sml embeds the graphic in the normal DataTip background but also allows attribute information from other layers in the layout to appear. AspectTip1.sml
AspectTip2.sml
AspectTip3.sml
TechGuideUsing Graphics in Complex DataTips
AspectTip2.sml: See AspectTip1.sml. AspectTip2.sml
AspectTip3.sml: See AspectTip1.sml. AspectTip3.sml
BarGraphTip.sml: GraphTip example that plots categorical breakdowns of population values for counties (polygons in a vector object) and shows a pie chart for each county with the percentage of these households in different categories. BarGraphTip.sml
BarGraphTip.zip
TechGuidePie Chart and Bar Graph
DTbackgroundByAttribute.sml: Create DataTip heading and change background color depending on attribute. DTbackgroundByAttribute.sml
TechGuideEnhance DataTips Using Scripts
label_management.sml: The GraphTip enlarges the label(s) beneath the cursor to make it readable at any scale without all labels being so large that the map is obscured. It also deconflicts labels that are overlapping, enlarging and positioning them out from their initial map locations with leader lines to their original map position. label_management.sml
LabelDecon.sml: This is a Display Control Script for Afghanistan Atlas. Move cursor in the View to enlarge, and/or deconflict overlapping labels. (The original labels remain in position.) LabelDecon.sml
TechGuideGraphTips in the Afghanistan Atlas
LineProfileGraphTip.sml: A GraphTip example that executes automatically whenever the cursor is near a vector line. The line nearest the cursor is highlighted and a GraphTip pops-in showing an elevation profile computed along the line using values from an elevation raster. LineProfileGraphTip.sml
TechGuideProfile of Nearest Line
PieChartGraphTip.sml: A GraphTip example that plots categorical breakdowns of population values for counties (polygons in a vector object) and shows a bar chart with the percentages of the population in each of five age categories, with these values coming from a different table. PieChartGraphTip.sml
PieChartGraphTip.zip
population_pie.sml: GraphTip that pops in to display the name of the province, the population of the province presented as a pie chart and a percentage, as well as the total population for the province. population_pie.sml
TechGuideAfghanistan Atlases on CD
roads_Profile.sml: GraphTip shows the nearest road line segment in profile. roads_Profile.sml
schools.sml schools.sml
TechGuideUsing Overlapping Polygons
TechGuideExploring District Services
Slope_Aspect.sml: Display Control Script that computes slope and aspect for the cursor position from an elevation raster (first layer in the group) and plots them graphically in a GraphTip. Slope_Aspect.sml
SlopeAspectDataTip.sml: Display Control Script that computes slope and aspect for the cursor position from an elevation raster (first layer in the group) and plots them graphically in a DataTip. SlopeAspectDataTip.sml
SlopeAspectDataTip.zip
SlopeAspectGraphTip.sml SlopeAspectGraphTip.sml
SlopeAspectGraphTip.zip
SpyGlassRaster.sml: These scripts create a circular GraphTip whose diameter is set to be a fixed fraction of the size of the View window. The SpyGlassRaster script uses standard GraphTip methods and structures to copy the geographically-matching portion of a raster object into the GraphTip at each GraphTip event. SpyGlassRaster.sml
SpyGlassVector.sml
TechGuideSpyglass View
SpyGlassVector.sml: These scripts create a circular GraphTip whose diameter is set to be a fixed fraction of the size of the View window. The SpyGlassVector Display Control Script pops-in a circular GraphTip with geographically matching data from a vector object. SpyGlassVector.sml
timezone.sml: Displays a GraphTip showing current local time at the cursor position. timezone.sml
TechGuideLocal Time Zones
urbanization_pie.sml: GraphTip that pops in to display the name of the province, the urbanization of the province presented as a pie chart and a percentage, as well as the total population for the province. urbanization_pie.sml