Visio 2013 Data Graphics - Radio Button Change

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?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott HelmersVisio Consultant, Trainer, Author, and DeveloperCommented:
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.
WashcareAuthor 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
Scott HelmersVisio Consultant, Trainer, Author, and DeveloperCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WashcareAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Visio

From novice to tech pro — start learning today.