Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows 7

Microsoft Visio 2010 : Introducing Data Graphics (part 2) - Creating Data Graphics,Applying Data Graphics to Shapes

3/31/2014 4:08:07 AM

Creating Data Graphics

Creating your own Data Graphics is a simple process that involves mapping Shape Data fields to Data Graphic items. One issue to keep in mind is which types of data work best with which types of items. Data bars and color by value are best used with numerical values. Text callouts obviously are best for textual descriptions and names. Icon sets work well for data that fits a small number of distinct regions such as “pass” and “fail” or “low,”“medium,” and “high.”

To get you up and running, Visio provides you with the premade text callouts, data bars, and icon sets shown in Figure 3.

Figure 3. Visio comes with several built-in styles of text callouts, data bars, and icon sets.

Creating a Custom Data Graphic
1.
Continue with Ch7 Shape Data.vsd.

2.
Create a new, blank page called DG and drop a few Light Bulb shapes on it. Make sure they have different information either by manually editing the Shape Data fields or using Link Data methods described in the previous section.

3.
Go to the Data tab, expand the Data Graphics gallery, and then click Create New Data Graphic. The New Data Graphic dialog appears, with no items in it.

4.
Click New Item. The New Item dialog appears.

5.
For the Data field, choose Power (Watts), and for Displayed As, choose Data Bar. Pick any style of bar you would like from the Style drop-down.

6.
Notice the Details section, which allows you to fine-tune the look and behavior of the data bar. For now, focus on the minimum and maximum values. In this case, 0 and 100 are good choices for light bulbs, but make sure that your bulbs fall within this range and use it fully. If your maximum Wattage is only 30, you might change the maximum value to that number instead.

7.
Leave the default settings for Position, which governs where on the shape the Data Graphic Item will be located. You can come back and experiment with this later.

8.
Click OK to exit the New Item dialog. You see your new item displayed in the list, summarizing that Power (Watts) is being displayed as a data bar.

9.
Click New Item again; then choose to display Bulb Type as an icon set. Pick any style from the drop-down and then look at the Rules for Showing Each Icon section. This section allows you to specify when to show each icon from the set.

10.
Icon sets can display up to five icons, representing five different values. Amazingly, you have exactly five different types of Bulb Types: CF, Halogen, Incandescent, LED, and Other.

Unfortunately, Visio doesn’t pick up on the fact that Bulb Type is a fixed list and offer a convenient drop-down list for the conditions. You have to type CF, Halogen, Incandescent, LED, and Other into the far-right field for each icon. Do this now and make sure that the condition is “equals” in the middle drop-down for each icon. Figure 4 shows how it should look.

Figure 4. Pausing over an item displays a Data Graphic’s name. Here, you apply the Mega Light Bulb Data graphic to a Light Bulb shape.

Click OK twice to exit the dialogs for creating your new Data Graphic. You see your new item in the Data Graphics drop-down gallery on the Data tab.

11.
Rename your Data Graphic. The Data Graphics drop-down is purely visual, but the icons you see aren’t always clear enough—especially if you define several similar Data Graphics.

If you pause the mouse pointer over an item, a ToolTip appears showing the name. Visio gives Data Graphics odd default names, but you can choose your own. Figure 5 shows the application of the Mega Light Bulb Data Graphic, which loudly hints that I created and named it myself!

Figure 5. Setting conditions for a smiley face Icon Set that visually depicts bulb types.

Rename your new Data Graphic by right-clicking it and choosing Rename. If you’ve just added the Data Graphic, it should be the last one in the list.

12.
Save the drawing, as usual.


Applying Data Graphics to Shapes

Applying Data Graphics to shapes is simply a matter of selecting the shapes you want and then picking Data Graphics from the Data Graphics drop-down list. You probably figured this out from Figure 5, where you renamed the Data Graphic.

The Data Graphics gallery is wired with Live Preview, so you can pause over an item, and Visio shows you how it will look in the drawing window before you click. This capability is especially helpful if you’ve created several similar Data Graphics. You can use Live Preview to help in choosing the right one.

Of course, you can remove Data Graphics at any time by selecting shapes and choosing the top item in the gallery, just under No Data Graphic. All Data Graphics are removed from the selected shapes.

Another helpful feature enables you to find the shapes that are using a particular Data Graphic. Just right-click on any item in the gallery and click Select Shapes That Use This Data Graphic. Any shapes on the page that use that particular Data Graphic are selected. You can now easily apply a different Data Graphic to just these shapes or clear the Data Graphic by applying No Data Graphic.

Other -----------------
- Microsoft Visio 2010 : Linking External Data to Shapes (part 6) - Using Link Data - Linking Data to Shapes Using Link Data
- Microsoft Visio 2010 : Linking External Data to Shapes (part 5) - Using Link Data - Preparing a Master for Link Data , Importing Data for Link Data
- Microsoft Visio 2010 : Linking External Data to Shapes (part 4) - Using the Database Wizard - Taking the Data-Linked Light Bulb Shape for a Spin
- Microsoft Visio 2010 : Linking External Data to Shapes (part 3) - Using the Database Wizard - Setting Up the Excel File as a Data Source
- Microsoft Visio 2010 : Linking External Data to Shapes (part 3) - Using the Database Wizard - Setting Up the Excel File as a Data Source
- Microsoft Visio 2010 : Linking External Data to Shapes (part 2) - Preparing the Light Bulb Shape for Data Linking
- Microsoft Visio 2010 : Linking External Data to Shapes (part 1) - Preparing the Data
- Microsoft Visio 2010 : Working with Data - Creating Reports (part 3) - Using Reports with Other Documents
- Microsoft Visio 2010 : Working with Data - Creating Reports (part 2) - Grouping and Totaling Items in a Report
- Microsoft Visio 2010 : Working with Data - Creating Reports (part 1) - Introducing the Report Definition Wizard
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro