• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

XYChart clikable area

 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using XYChart and its API's
I am facing the following problem

The getHTMLImageMap of this class returns a dymanic tags list something like
<area shape="rect" coords="58,255,77,255" title='BC: 5 ' href="javascript:sbmt(bpid[0],'viewRoleLibDetailsDrillDown.do?recordHistory=true');">
<area shape="rect" coords="95,255,114,255" title='BS: 3 ' href="javascript:sbmt(bpid[1],'viewRoleLibDetailsDrillDown.do?recordHistory=true');">
<area shape="rect" coords="131,255,150,255" title='FB: 1 ' href="javascript:sbmt(bpid[2],'viewRoleLibDetailsDrillDown.do?recordHistory=true');">
<area shape="rect" coords="167,255,186,255" title='FB: 1 ' href="javascript:sbmt(bpid[3],'viewRoleLibDetailsDrillDown.do?recordHistory=true');">
<area shape="rect" coords="204,66,223,255" title='FI: 28121 ' href="javascript:sbmt(bpid[4],'viewRoleLibDetailsDrillDown.do?recordHistory=true');">

problem is that in the last entry I have thousands of records so bar grpah become tallest and we get a clikable area as the wall of this graph

But the remaiining graphs contain only 1 record so I don't get their height and also I cannot even click on their top to call the javascript function
Is there a way to make top of BarGraph as clickable ?

 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm having a hard time picturing the problem; can you post a screenshot or the generated chart image?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic