User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,716 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,539 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 343 | Replies: 1
Reply
Join Date: Jul 2008
Posts: 2
Reputation: twix112 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
twix112 twix112 is offline Offline
Newbie Poster

HTML hotspot and Python

  #1  
Jul 16th, 2008
Has been working on performance graphs for a cluster of server over the last couple of week for a company with matplot lib and python. The prolem is that the picture that's been published of the graph has a couple of labels that they feel is 'hard to read' 'cause they are to close to each other. So they wanted that each new "dot" in the graph (value change) should be implemented with a html hotspot to get the values and labels when hovering the mouse over the spot. The problem is that the graph is plotten by date2num() so the "smalest" value is 732828 and so forth. To make hotspots on that image some coordinates has to be found based on the plot coordinates and so on. Is there someone that has an idea to do this or mayby already have? Attached an example of the graph
Attached Images
File Type: png req_kpi.png (61.9 KB, 3 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,183
Reputation: peter_budo has a spectacular aura about peter_budo has a spectacular aura about peter_budo has a spectacular aura about 
Rep Power: 10
Solved Threads: 265
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: HTML hotspot and Python

  #2  
Jul 17th, 2008
If you can mark the points on the graph like put square/circle in the place the hotspot should go (just make them visually visible so the user do not need to search with the mouse over the graph) you can use image map and place the data in alt parameter of the area tag or use JavaScript pop up window option in href parameter
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 2:05 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC