Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8086549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:29:23+00:00 2026-06-05T18:29:23+00:00

I am making an interactive graph using reportlab. Each bar in the graph is

  • 0

I am making an interactive graph using reportlab. Each bar in the graph is a link to information related to the data represented by that bar, and this functionality works well.

When I hover over a bar, I see the url that the bar links to. I would like to add some text to this “tooltip”, such as the title of the webpage that I am linking to.

I have looked at a few mailing list threads, and searched the reportlab user’s guide, but I can’t find anything that gives a definitive answer. Is this possible?

from reportlab.pdfgen import canvas
from reportlab.lib.units import inch

c = canvas.Canvas("hover.pdf")

#  This square links to google.com.
#  How do I make the message "Go to google" appear when the user
#    hovers over this square?
c.rect(0*inch, 0*inch, 1*inch, 1*inch, fill=1)
c.linkURL('http://google.com', (0*inch, 0*inch, 1*inch, 1*inch), relative=1)

c.showPage()
c.save()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:29:25+00:00Added an answer on June 5, 2026 at 6:29 pm

    This is supported by the PDF itself, see http://indesignsecrets.com/showing-and-hiding-objects-in-interactive-pdf.php

    But it is not supported by ReportLab. You can try bringing this feature up again on the ReportLab mailing list, someone asked for the same thing here a year ago http://permalink.gmane.org/gmane.comp.python.reportlab.user/10225

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Making an adobe flex ui in which data that is calculated must use proprietary
I'm following this tutorial on making an animation like IKEA: http://static.buildinternet.com/live-tutorials/interactive-picture/index.html The issue I'm
I am making an application as homework for my course for interactive TV using
So I am making a fridge magnet interactive and I was trying to figure
I've been making heavy use of the interactive 3D controls, made by some guys
Making my first steps in RIA Services (VS2010Beta2) and i encountered this problem: created
Making UML sequence diagram in VS 2010RC I've observed that there is no activation
Making websites that appear correctly in IE is a big problem. Is there any
I´m making an Android App with a Google Map. This app must alert you
In it's simplest explanation, I'm making a really small interactive movie app on Android.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.