Hey all - I've been going thru the archives, but can't seem to find anything which helps. Specifically, I'm trying to create an XYPlot chart which, when mousing over the various data points, displays and alt tag w/ the point values.
I _have_ read the exchange 'twixt Lee Irvine, Dave Gilbert and Richard Atkinson regarding how to do this. And thanks to your excellent demo, Richard (thanks, Richard), am able to get my app to display a .png chart from the temp directory _as well as_ also writing the IMAGE MAP element to the response. So, my HTML all looks good, but when the page is displayed, and I mouse over the various points, I don't get any alt text displayed - which I do when viewing Richard's demo.
Originally I was creating the image map w/out href's (as I'm not linking anything yet), but thought maybe alt text wouldn't display if there wasn't something for it to be alternate to, e.g. a link. So I've modified the chart image map creation to include href's as well, but still no luck, i.e. not only is there no alt text, there aren't any links underlying my image.
I don't know too much about image maps, and the only thing I can think of right now is that the image map declaration must be in a specific location w/in the HTML doc. Currently, my app writes it to the response between the closing </head> tag and the opening <body> tag. I'll muck around w/ that, but am wondering if anyone else has other thoughts or has run into this.
thanks
mx.
ToolTips on an XYPlot
Re: ToolTips on an XYPlot [SOLVED.. kinda]
Hey.. okay.. sorry all. I had picked up the .jsp code from another developer. Later down the line we're looking to also add functionality for an SVG viewer. As such, rather than the graph being rendered using an <img ...> tag, it was currently coded to use an <embed ...>, which wasn't working.
Changed it to <img ...> and its all sorts of peachy... including alt text _w/out_ actual hrefs underneath.
thanks for you ears... uh... eyes.
mx.
Changed it to <img ...> and its all sorts of peachy... including alt text _w/out_ actual hrefs underneath.
thanks for you ears... uh... eyes.
mx.