O'Reilly logo

Mastering Data Visualization with Microsoft Visio Professional 2016 by David J Parker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making graphics respond to data value changes

The following screenshot shows a triangular shape, named DepartmentMarker, added to the group shape of the Person master in the Document Stencil:

Making graphics respond to data value changes

Notice that the top group shape is currently named Sheet.5. This is the default name, and it will remain as the NameID property even if the shape is renamed. In fact, 99% of Masters have the top group Shape with an ID of 5. NameID is the ID of the shape preceded by sheet making it Sheet.5.

To make the color of the DepartmentMarker Shape change whenever the value of the Department Shape Data row changes, the following formulas were entered:

FillForegnd=GUARD(TONE(RGB(Sheet.5!Prop.Red,Sheet.5!Prop.Green,Sheet.5!Prop.Blue),50)) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required