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

On/Off buttons for line in a chart - interactive PDF

New Here ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

I have a line chart with various coloured lines. I am trying to make the chart interactive so you can toggle on/off the vaious coloured lines. In my head this should be really simple but I am struggling.

 

I can make a button turn a line off, but not back on. I could create two sepeare buttons for every line for both on and off but that feels overkill.

 

I thought the radio button may work but in a similar way I can make it do one action, but not the second. So I can click to hide the line but not turn it back on.

 

This needs to remain as a PDF so would appreciate any help people can offer.

 

 

TOPICS
How to

Views

162

Translate

Translate

Report

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 ,
Feb 08, 2024 Feb 08, 2024

Copy link to clipboard

Copied

If it has to be a PDF my advice is to forget it. You could try it with show/hide fields but it probably won't work outside of Acrobat.

Votes

Translate

Translate

Report

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
New Here ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

That was my concern unfortunately. Oh well.

Thank you

Votes

Translate

Translate

Report

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 ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

You would have to inject custom JavaScript - but as @BobLevine pointed out - it might not work in other readers.

 

Votes

Translate

Translate

Report

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
New Here ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

I just created a test where there were two separte buttons for on and off and they turned them selves off whilst turning the other on. All worked as expected and did the job in Acrobat but tested on my phone and didnt work so I think I just need cancel this idea.

Thank you. 

Votes

Translate

Translate

Report

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 ,
Feb 09, 2024 Feb 09, 2024

Copy link to clipboard

Copied

LATEST

It is an exercise in futility. You are making the correct decision.

Votes

Translate

Translate

Report

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