• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

XYChart clikable area

Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • 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 ?

Posts: 43016
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having a hard time picturing the problem; can you post a screenshot or the generated chart image?
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic