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.
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.
Copy link to clipboard
Copied
That was my concern unfortunately. Oh well.
Thank you
Copy link to clipboard
Copied
You would have to inject custom JavaScript - but as @BobLevine pointed out - it might not work in other readers.
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.
Copy link to clipboard
Copied
It is an exercise in futility. You are making the correct decision.