Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering Data Visualization with Microsoft Visio Professional 2016

You're reading from  Mastering Data Visualization with Microsoft Visio Professional 2016

Product type Book
Published in May 2016
Publisher Packt
ISBN-13 9781785882661
Pages 334 pages
Edition 1st Edition
Languages
Authors (2):
John Marshall John Marshall
David Parker David Parker
Profile icon David Parker
View More author details

Table of Contents (17) Chapters

Mastering Data Visualization with Microsoft Visio Professional 2016
Credits
About the Author
www.PacktPub.com
Preface
Data within Visio Essentials Understanding How Data Is Stored within Visio Linking Data to Shapes Using the Built-In Data Graphics Using the Pivot Diagram Add-On Creating Custom Master Shapes Creating Custom Data Graphics Validating and Extracting Information Automating Structured Diagrams Sharing Data Diagrams Choosing a Deployment Methodology Index

Adding data-linked shapes to containers


Containers group shapes together visually. The normal user adds a container to the existing shapes using the Insert | Diagram Parts | Container button. The same action can be repeated in code using the Page.DropContainer() method. The container shape is added to the page and encloses the target shapes.

An alternative is to use the Shape.ContainerProperties.AddMember() method, where Shape is a container shape. The container can then expand to enclose the target shapes, which remain in their current positions.

The final alternative action is to move the target shapes into an existing container shape. In the following screenshot, the Person shapes are on the outside of the Sales container:

The following sub-function, DropShapesInContainer(), finds all the relevant containers by creating a selection of all the shape instances of the Belt Master. It gets the text of each container because this is the name of a department. It then finds all the rows from Personnel...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}