Book Image

Mastering Data Visualization with Microsoft Visio Professional 2016

By : John Marshall, David Parker
Book Image

Mastering Data Visualization with Microsoft Visio Professional 2016

By: John Marshall, David Parker

Overview of this book

Microsoft Visio Professional is a data visualization application that is used by many different market sectors and many different departments to represent information visually, from network infrastructure to organization charts, from process diagrams to office layouts. Starting off with a brief introduction to Visio Professional 2016 and then moving on to data storage, linking data to shapes, and working with SQL Server to create a solid foundation. Then we’ll cover topics such as refreshing data, working with geographical data, working with various graphics, and diagrams, and more. Finally, you’ll find out how to deploy custom stencils, templates, and code.
Table of Contents (17 chapters)
Mastering Data Visualization with Microsoft Visio Professional 2016
Credits
About the Author
www.PacktPub.com
Preface
Index

Creating data links to the shapes


Most of this chapter has dealt with importing data into the Visio document, and very little has been about actually linking the data to the shapes. More will be discussed in Chapter 9, Automating Structured Diagrams, but a few simple methods are introduced here. The beauty of having the Document.DataRecordsets available in code is that it provides a consistent method for automating any data links to shapes, regardless of the origin of the data.

Linking data to shapes manually

The Visio user interface presents several methods for linking data to shapes. The first is to just drag a row from the External Data window onto an existing shape. This will just add the data to the shape, which is the technique that has been used throughout this chapter.

There are times when it is impossible to drag the data row onto a shape, such as when the shape is a List or Container. Therefore, the method is to select the shape first, then the data row, and Link to Selected Shapes...