Skip to main content
pinksnowsnow
Participating Frequently
April 14, 2016
Answered

Buttons on a pie chart and display text

  • April 14, 2016
  • 2 replies
  • 598 views

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

    This topic has been closed for replies.
    Correct answer TLCMediaDesign

    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.

    2 replies

    pinksnowsnow
    Participating Frequently
    April 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.

    TLCMediaDesign
    Inspiring
    April 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.

    Lilybiri
    Brainiac
    April 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...

    TLCMediaDesign
    TLCMediaDesignCorrect answer
    Inspiring
    April 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.