Visio 2013 Data Graphics - Radio Button Change

Washcare
Washcare used Ask the Experts™
on
I think I have previously seen a Visio document with a radio button menu, which enabled the switching between data graphics - if so how was it done?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Scott HelmersVisio Consultant, Trainer, Author, and Developer
Most Valuable Expert 2011

Commented:
You would need to write code to allow switching between data graphics by using radio buttons.

The closest thing in the Visio UI is a new data graphics gallery in Visio 2016. You can switch between preconfigured data graphics in this gallery in much the same way you can switch between themes in the themes gallery. However, you can't use it to switch between user-created data graphics.

Author

Commented:
Hi Scott

Thank you for your reply please, could you point me in the right direction for writing the code?

Please see the video at:

Example Video

At about 4:37, I am looking to duplicate the functionality - thanks
Visio Consultant, Trainer, Author, and Developer
Most Valuable Expert 2011
Commented:
When I saw your question, I wondered whether it was Square Miles software where you'd seen the radio buttons. They did a nice job with the radio button idea.

As far as writing code... You didn't mention whether you have experience writing Visio code. If you need some examples and tips to get started, you might take a look at part 3 of the "Visio Power User" course I did for Microsoft Virtual Academy. I didn't talk at all about user forms with radio buttons, but there are a lot of code samples that might be helpful.

The best resource for programming anything related to data linking and data graphics, is David Parker's book. Though it was written for Visio 2007, it still applies to current versions. Or, if you can wait six months, David just started updating it and the new edition should be available next June.

Other than that, there is a lot of material available onlne about creating userforms in VB/VBA.

Author

Commented:
Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial