Multiple points crowded --

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Guest

Multiple points crowded --

Post by Guest » Thu Dec 16, 2004 9:23 pm

Hello,
Please excuse me if I am asking something that has been answered before.. I probably am not using the correct string to search answers...

I have a xy plot with lots of points (approx 50000)... the points are bunched in groups...as sen below...

Code: Select all

 /                                                                        
 |                                                                        
 |                                                                        
 |                                                                        
 |                         @@@                           @@@@@            
 |                         .@@                           @@@@@@           
 |          zoom rect     ` \                              ` \            
 |         +------------,'-+ \                            |   \           
 |         |           `   |  \                          /     \          
 |         |         ,'    |   \                         |      ,         
 |         |       @@@     |    \                       /       \         
 |         |      ,@@@@    |     \                      |        \        
 |         |     `         |      \                   @@@@@       \       
 |         |   ,'          |       \                 _,@@@@        \      
 |         +--`------------+        \           ,.-'`               @@@@  
 |        @@-`                       \     ,.-``                     @@@  
 |        @@@                        @@@'``                          @    
 |       /                            @@@                                 
 |       |                                                                
 |      /                                                                 
 |      |                                                                 
 |     |                                                                  
 |     '                                                                  
 |    |                                                                   
 |   /                                                                    
 |   |                                                                    
 |  /                                                                     
 |  |                                                                     
 | |                                                                      
 | '                                                                      
 -/-------------------------------------------------------------------    

Now, when the user draws the zoom box around a cluster of points, I DO NOT want to show the contents of the zoom box...

Instead, I want to show the Points INSIDE the zoom box to be "AUTO_FILLED" within the chart... like below..

Code: Select all

 /                                                                      
 |                                                                      
 |                                                                      
 |                                                                      
 |                                                                      
 |                                                                      
 |    @                          @                          @           
 |    \                       .   \                      .   /          
 |    |\                    .`     \                   ,'    \          
 |    / \                 ,'        \                 /       |         
 |   |   .              ,'           .              ,`        |         
 |   |   \            ,'             \             `          \         
 |   |    \          -                \          ,'            |        
 |   |     \       ,'                  \       ,'              |      , 
 |   |      \    ,'                     \     -                \     /  
 |  /        ' -`                        '  -`                  |   /   
 |  |         @                            @                    \  /    
 |  |                                                            @/     
 |  |                                                                   
 |  |                                                                   
 |  |                                                                   
 | /                                                                    
 | |                                                                    
 | |                                                                    
 | |                                                                    
 | |                                                                    
 | |                                                                    
 ||                                                                     
 ||                                                                     
 |\                                                                     
 -/-------------------------------------------------------------------  

Is there an easy way to do this...???

TIA..

stufff
Posts: 2
Joined: Thu Dec 16, 2004 9:06 pm

Post by stufff » Thu Dec 30, 2004 7:03 pm

*bump*.. I too am facing this issue

anybody know how to do this? Many Thanks

Locked