Re: Problem in Image map generation

"Nathaniel G. Auvil" <[email protected]> Tue, 25 May 2004 09:59:54 -0700 (PDT)
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
oh i see...that is not good. Nothing gets added to that List when the value is zero. I will try to
look at this tonight.  The only file which needs a fix for you is BarChart.java if you want to
look at it before I can do it.



--- Travis Reeder <[email protected]> wrote:
> Well nothing, it's not really that it needs to be clicked on, but the 
> iterator no longer matches the graph.  It would be nice to have it at 
> least return something and you could check the imageMapArea.getValue or 
> something to know whether to output that portion of the map html or some 
> way at least to know that it skipped a column.
> ex:
> 
> ImageMapArea imageMapArea= (ImageMapArea) iterator.next();
>     if(imageMapArea.getValue() > 0){
> 	...  do the rest here
> 	imageMapArea.toHTML()....
>    }
> 
> 
> Maybe your idea of clicking on the x-axis is a perfect idea, then you don't even have to check
> and it would be backwards compatible.
> 
> Travis
> 
> 
> Nathaniel G. Auvil wrote:
> 
> >what would you click on if there is nothing drawn? The axis?
> >
> >
> >--- Travis Reeder <[email protected]> wrote:
> >  
> >
> >>If a bar is 0 value, then it seems like no ImageMapArea is is returned 
> >>for that bar.  This is problematic when the bars link to dynamic values 
> >>for example:
> >>
> >> ImageMapArea imageMapArea= (ImageMapArea) iterator.next();
> >>    html.append( "href=\"processList.jsf?status=" );
> >>    html.append( matchingStatusCodes[mapCount] );
> >>    html.append( "\"" );
> >>
> >>
> >>Any ideas to get around that?
> >>
> >>Travis
> >>
> >>
> >>    
> >>
> >
> >
> >
> >	
> >		
> >__________________________________
> >Do you Yahoo!?
> >Friends.  Fun.  Try the all-new Yahoo! Messenger.
> >http://messenger.yahoo.com/ 
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by: Oracle 10g
> >Get certified on the hottest thing ever to hit the market... Oracle 10g. 
> >Take an Oracle 10g class now, and we'll give you the exam FREE.
> >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> >_______________________________________________
> >jCharts-users mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/jcharts-users
> >
> >.
> >
> >  
> >
> 



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click