Analyzing the composition of a Data Graphic

A Data Graphic is actually stored as a special type of Master in a stencil. The Master contains a reference to each of the graphic items within it along with their configurations. The graphic items are also special masters, except for Color By Value, which is stored as a formula in user-defined cells.

The Data Graphic and Graphic Item masters do not appear in the Document Stencil list, but they are visible in the Drawing Explorer window, as can be seen in the following screenshot:

Analyzing the composition of a Data Graphic

The following ListDataGraphicMasters() VBA macros simply produces a list of the data graphics in the active Document Stencil ...

Get Mastering Data Visualization with Microsoft Visio Professional 2016 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.