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

Acrobat calculates value to fill object

Explorer ,
Dec 14, 2023 Dec 14, 2023

I have an interactive PDF that I have set up to calculate sums from questions asked. There are 8 pages of questions, 10 per page. The last page of the file shows each of the totals in a pie chart. I have it so that each total for each page is shown on top of its specific pie piece.

 

My question is; is there a way to have Acrobat fill in a pie piece with a color according to the value given for that pie piece?

 

Each piece can be filled with values of 0-100. If a piece has a value of 45 can Acrobat fill that frame/element 45% with a color from the inside point of the pie piece?

 

If Acrobat can not do this does anyone know of an interactive way to create this fill with a plugin or script?

TOPICS
How to , Modern Acrobat , PDF , PDF forms
583
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 ,
Dec 14, 2023 Dec 14, 2023

There's no built-in way of doing that. If you create those pieces in advance as images and add them as fields or layers then it would be possible to show/hide them based on the results, though.

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 ,
Dec 15, 2023 Dec 15, 2023

I think this could be done using the Polygon annotation paired with a text annotation.

 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

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 ,
Dec 15, 2023 Dec 15, 2023
LATEST

I'll look into this. I was thinking about try67 option but it may create too large of a file. I'll have to play with it.

I appreciate the responses.

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