• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Using Visio in Education for GIS
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Visualize Complex Processes with Microsoft Visio
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / Visio / How to have six icons in a Visio Data Graphic Icon Set

Published on April 11, 2012 by David Parker

How to have six icons in a Visio Data Graphic Icon Set

I was recently asked to represent the values of Key Performance Indicators (KPIs) in Visio. Great, I thought, this is just what Visio’s Data Graphic Icon Sets are for! Only trouble was, that there were six possible values for the KPI, but all the example Icon Sets have a maximum of five icons in them. So, I had to come up with a way of displaying six icons …

In the following example, I have defined a Shape Data row with a Fixed List type that can have a value from the list “3;2;1;-1;-2;-3”

image

I applied the Faces Icon Set, and set icons for each value, except for –1:

image

Consequently, when I dropped six shapes, each with one of the possible values, then there is no icon shown for the –1 value:

image

So, I explored the Faces icon set to see if I could display an icon if the value does not match one of the assigned matched values in the icon set. (Note that the sixth icon will not be for the value –1 specifically, but for any value that is not matched already).

First of all, I opened the Drawing Explorer (from the Developer tab when in Developer Mode), and ticked the Match master by name on drop property. This ensures that Visio will not attempt to use the original Faces icon set master (provided that any changes are not too drastic).:

image

I then selected Edit Master Shape, and viewed the ShapeSheet of the main group shape, Sheet.5 :

image

Notice that the Geometry1.NoShow and the HideText cells have the formula

=IF(User.msvCalloutIconNumber=-1,TRUE,FALSE)

I opened the ShapeSheet of the sub-shape, Sheet.78, and noticed that there are many Geometry sections, each of which have their NoShow formula linked to the value 0 to 4 for the User.msvCalloutIconNumber cell, which references the User.msvCalloutIconNumber cell in the parent group shape.

image

Therefore, all that is needed is to amend the formulas to display geometry if there is no matched value.

So, I manually edited the value of the User.msvCalloutIconNumber  in Sheet.5 to –1. This switched off the display of all graphics:

image

I then changed the formula in the NoShow cell of Geometry sections 7, 12 and 13 from:

=IF(User.visCalloutIconNumber=2,FALSE,TRUE)

to:

=IF(LOOKUP(User.visCalloutIconNumber,”0;1;3;4″)>-1,TRUE,FALSE)

This gave me two eyes and a mouth:

image

I decided to give the mouth a slant in order to distinguish it from the case when the value = 2. So, I changed the formula for the Geometry7.Y2 from:

=Height*0.341

to:

=IF(User.visCalloutIconNumber=2,Height*0.341,Height*0.25)

image

All that remains is to edit the Geometry1.NoShow cell formula of Sheet.5 to =FALSE :

image

Finally, I closed the master shape window to save the icon set.

I then refreshed the displayed icon set by selecting another one, applying, then back to the Faces icon set. Now I get an icon for each of the six values in my KPI Shape Data row:

image

Note that these edited icon sets are in the document stencil. You can download this example from : https://skydrive.live.com/redir.aspx?cid=3350d61bc93733a9&resid=3350D61BC93733A9!2514&parid=3350D61BC93733A9!197

I have shown how you can modify one of the built-in icon sets in Visio 2007/2010, and you can apply the same principle to all of the other built-in icon sets, or you can build your own icon sets.

Make Your Own Data Graphic – Icon Sets at http://blogs.msdn.com/b/visio/archive/2007/07/20/make-your-own-data-graphic-icon-sets.aspx

Create your own Icon-Sets for Data Graphics at http://blogs.msdn.com/b/chhopkin/archive/2009/02/03/create-your-own-icon-sets-for-data-graphics.aspx

Using Data Graphics to Reinforce Information in https://bvisual.net/resources/visualizing-information-with-microsoft-visio/

In the next blog, I will be showing you how to create new icon sets from existing shapes … automatically.

Related

Filed Under: Data Graphics, Shape Data, ShapeSheet Formulas, Visio, Visio 2010 Tagged With: Data Graphics, Icon Sets

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Comments

  1. johnvisiomvp says

    April 11, 2012 at 3:11 pm

    Nice article. So does this mean you can add MORE than six icons or are there other limiting factors?

    Reply
    • davidjpp says

      April 11, 2012 at 3:14 pm

      Now then, don’t be greedy!
      You can only have 6 because the sixth one is set to be the default if a matching value for the other 5 is not found …

      Reply
  2. Michael F. Clark says

    August 8, 2016 at 9:44 pm

    I’m using 4 ovals grouped together in a pattern to illustrate ONE icon of six (6) in the set, which I group to make an icon set. Everything is working perfectly, except for the last icon in the set. I’m trying to follow this post, but I do not have a series of Geometry areas to modify. I have the msvCalloutIconCount set to 6, and simply changing the msvCalloutNumber will give me the results I want. However, as you know, this doesn’t translate into a functional data graphic. What am I missing?

    Reply
    • davidjpp says

      August 9, 2016 at 3:05 pm

      msvCalloutIconCount has a maximum value of 5. The sixth one that I add, is the default if a match is not found for the other 5.

      Reply
  3. Caroline Rochon says

    December 9, 2016 at 12:48 am

    Can someone help me with the Visio 2013 Pro Link shapes to data function?
    I use a MS Access database data source (instead of Excel) and I want to open the database and update the specific data record by double-clicking on form in the Visio drawing. I want the specific Access database record to pop up in a window in Visio so I can update it. This would be much more efficient.
    Can you provide the code?

    Reply
    • davidjpp says

      December 10, 2016 at 7:51 pm

      Caroline,
      I have written a blog article to describe how this can be done at Opening an MS Access form from a Visio shape

      Reply

Trackbacks

  1. Make Your Own Visio Data Graphic Icons Sets … automatically « bVisual says:
    April 19, 2012 at 4:57 pm

    […] post, I showed how you can actually have up to six icons in a Visio Data Graphics Icon Set ( see http://davidjpp.wordpress.com/2012/04/11/how-to-have-six-icons-in-a-visio-data-graphic-icon-set/ ), and I finished by saying that I would now show how to create new icon sets from existing shapes […]

    Reply
  2. A Table of Visio Data Graphic Icon Sets | bVisual - for people interested in Microsoft Visio says:
    March 18, 2015 at 11:02 am

    […] http://blog.bvisual.net/2012/04/11/how-to-have-six-icons-in-a-visio-data-graphic-icon-set/ […]

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript LayerManager Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Setup and Deployment Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Validation VBA Video Visio Visio 2007 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • Amazon
  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Search this website

Recent posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Copyright © 2025 · Executive Pro on Genesis Framework · WordPress · Log in