Last year, I blogged about using the master shapes used in Data Graphics in Visio 2013 Professional for displaying data directly, rather than embedded in other shapes as graphic items. Now that Visio Professional 2016 is released, and because there have been some improvements to the graphics, especially for Text Callouts, I have created stencils from the new masters, with some slight changes as outlined in my earlier articles. As before, the stencils can be downloaded into the My Shapes folder, from where they will be available for use at any time. These stencils are freely available to anyone with a Visio Professional 2016 license.
bVisual Blog by David Parker
Enhancing Visio Data Graphics Text Callouts
Visio 2007 Professional introduced the wonderful Data Graphics feature to display Shape Data in a clear visual way, but it is not clear how you may, for example, change the font of even the simplest Graphic Item type, Text Callouts. In this blog, I’ll show you one method that I employ to vary the appearance of Text Callouts. The same technique can be used for other Graphic Item types, Icon Sets and Data Bars.
I am using the the sample IT Asset Management drawing to demonstrate throughout, which can be found in the Samples Template Category. In this diagram, the server shapes on the topology page use the Topology 1 Data Graphic, which can be seen in the Data Graphics panel.
[Read more…] about Enhancing Visio Data Graphics Text CalloutsPositioning Visio Shape Text Block with a Control Handle
I was recently asked how a control handle can be added to a Visio shape so that it can be used to re-position the text block. Fortunately, it is extremely easy to setup, and requires just two formulas to be updated in the ShapeSheet. This is a great use of the SETATREF(…) function.
[Read more…] about Positioning Visio Shape Text Block with a Control HandleWhen is a Visio Callout not a Callout?
I have been a Visio user/developer since the mid-1990’s and seen the word “callout” used as part of the name of many master shapes in Visio. The images below show five ways that the term “callout” has been applied to the name of Visio master shapes. Generally, each evolution has been an advance on the previous ones, or have becoome specialised for their usage … until Microsoft made “callout” shapes available in Visio web editions. These are not an advance in evolution, but are a radical regression, and in my opinion, quite unnecessarily basic, and extremely frustrating.
[Read more…] about When is a Visio Callout not a Callout?Testing Visio shape text for WCAG 2.0 pass
The Web Content Access Guidelines (WCAG) 2.0 provides the current recommendations for making web content accessible to users with vision impairment, but how do you test if your Visio shapes pass? There are several web sites out there that provide this capability, but all of them require the HEX values, rather than the RGB or HSL that Visio provides natively. Therefore, I have created a Visio callout shape that can be associated with a target shape to report on the values of each of its main color elements and provides hyperlinks to automatically check the contrast ratio on WebAIM.
The colour formats that can be selected from either the Shape Data window or the right mouse menu are:
Ensuring High Contrast Text in Visio Shapes
I am working on a project where I need to ensure high contrast of the text in the Visio shapes for accessibility. At first, I attempted to write my own formula but a colleague pointed my to a website that confirms if the contrast is acceptable ( contrast-ratio.com ), and showed me that a few of my examples failed. So the search was on for a better formula than my own. This lead me to a Stack Exchange answer with just what I was looking for (Formula for Color Contrast between Text and Background). All I needed to do was to convert this into a ShapeSheet formula or two, and then I could apply it to the text inside the shapes.
Any text created with Data Graphic Text Callouts cannot have the high contrast formula applied to because they can be moved independent of the background. However any text added with Insert / Field inside the shape changes between black and white with respect to the FillForegnd value in its background.
Following the article above, it is necessary to calculate the lightness, L, of the FillForegnd, and then to check if black or white text is going to provide satisfactory contrast.