BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

"Text" Data Graphics without Visio Pro

Started by Yacine, September 12, 2016, 04:02:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Here's a small tool to insert a data bound text (a formula) into a shape's text and attach it to a control point.

The motivation for the post was when I discovered that data graphics are only available in Visio Pro. (;topicseen#msg31489)

Having written the tool a long time ago, I thought I'd donate it to the forum.

Main feature is the behavior of the text in relation to the position of the control point. The text is always away from the shape center. So as to be able to position the text as close as possible to the shape, but never need to reposition when the text grows afterward. This is something M$ hasn't managed to accomplish with its data graphics.

The text to insert can be any valid shapesheet formula. If the formula is not valid the form doesn't crash, but the formula is not inserted.

The tool can be applied to all the selected shapes, or all the shapes of the current page.

The list of formulas displayed on the form are just examples. Adjust it to your own need. This has to be done in VBA, but this shouldn't be a big deal. Isn't it?
Why this list? Because you'll be able to modify on the fly a whole drawing by changing the displayed data of all the shapes. So as to get different documents for different purposes/audiences.

I do use the tool on a daily basis. I hope you'll find it useful too.

One could think to push the tool further to get graphical displays. I didn't need them, but this would certainly be a nice thing.


PS: how to use? drag and drop the yellow square on the drawing to start the macro.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 141 (show)
Files included: 32 - 1207KB. (show)
Memory used: 990KB.
Tokens: post-login.
Cache hits: 13: 0.00109s for 26,764 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]