Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Buttons on a pie chart and display text

Explorer ,
Apr 14, 2016 Apr 14, 2016

It's been a REALLY long time since I've created something like this in Captivate.  I used to use the rollover option to show text and when they rolled out the text would disappear.  How to do I create pie shaped buttons (on a pie chart) allow them to click the pie and display text, then click another piece and hide the text, but they would be allowed to click pieces out of order.  I know this is really basic for someone : )

Thank you,

Sabina

528
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Apr 14, 2016 Apr 14, 2016

You can use smartshape buttons. If you use a triangle, you can right click and select freeform then edit the button into a wedge/pie. Attach advanced actions to show the text and hide all other text.

You could create the pies in some other program and use image buttons. I think this would be much easier.

Translate
People's Champ ,
Apr 14, 2016 Apr 14, 2016

You can use smartshape buttons. If you use a triangle, you can right click and select freeform then edit the button into a wedge/pie. Attach advanced actions to show the text and hide all other text.

You could create the pies in some other program and use image buttons. I think this would be much easier.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 14, 2016 Apr 14, 2016

I agree, I think I will create images and turn them into buttons.  Do you know of a tutorial out there that explains how to do the advanced action.. it's been a long time - I need a refresher.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Apr 14, 2016 Apr 14, 2016

The easiest way is to create an advanced action for each pie piece.

Action 1

Show Text_Caption_1

Hide Text_Caption_2

Hide Text_Caption_3

HideText_Caption_4

then

Action 2

HideText_Caption_1

Show Text_Caption_2

Hide Text_Caption_3

HideText_Caption_4

and so on...

It's much easier with JavaScript if you are using HTML5. There is a blog about using a show/hide add-in on our website.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2016 Apr 14, 2016

Hmmm I would group the Text Captions, to reduce the action to:

  Hide Gr_TextCaptions

  Show TextCaption1

Moreover, would use a shared action, not an advanced action: two parameters are the group and text caption. The first parameter will always be the same, the second will be specific for each pie part.


To turn an image in a button, you'll need a shape as well! And it should best fit the image, because you cannot have overlapping parts:

Turn an Image into a Button - Captivate blog

If you are on Captivate 9, another approach would be to change states...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 14, 2016 Apr 14, 2016

Hi Lilybiri,

I am going through a Lynda.com tutorial to refresh on advanced actions and shared actions.  I agree - hiding the whole group is a good approach.  Thank you for your help.  I am using Captivate 9 which is a lot different than when I was in this app daily somewhere around Captivate 4   Thank you for your help.  I will check out the blog.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2016 Apr 14, 2016
LATEST

I don't know if the Lynda.com course talks about shared actions (they didn't before, found course limited), but have written some posts about shared actions. They can help to save time! This is a typical use case for a shared action.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources