Issue 10405

On the taxonomic browser, when the bar represents a big number (aprox > 500), it simply does not render.

10405
Reporter: jcuadra
Assignee: mdoering
Type: Bug
Summary: On the taxonomic browser, when the bar represents a big number (aprox > 500), it simply does not render.
Description: On the taxonomic browser, when the bar represents a big number (aprox > 500), it simply does not render. see image attached.
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2011-11-15 13:55:15.798
Updated: 2013-08-29 14:44:32.882
Resolved: 2012-09-04 12:50:48.697

Attachment taxaBarLong.png



Author: mdoering@gbif.org
Comment: simply look at the nub taxonomic root, click All and there wont be any bars
Created: 2012-08-03 13:31:20.31
Updated: 2012-08-03 13:31:20.31


Author: trobertson@gbif.org
Comment: Closing, as we have http://dev.gbif.org/issues/browse/POR-257 which will address the taxonomic browser
Created: 2012-08-27 14:45:03.925
Updated: 2012-08-27 14:45:03.925


Author: mdoering@gbif.org
Comment: We need to keep this open as the browser is still in use on the dataset page
Created: 2012-08-27 18:47:46.39
Updated: 2012-08-27 18:47:46.39


Author: mdoering@gbif.org
Created: 2012-08-29 16:16:04.973
Updated: 2012-08-29 16:16:04.973
        
How can we best scale the bar size so that the maximum number (of descendants or occurrences) still renders?
Do need a single scale across an entire dataset? Or even across all datasets?
Is there possibly a way of knowing the maximum number within a single dataset?

For a checklist the maximum of descendants for sure is the maximum of any of the root taxa. This is sth we can probably calculate if its worthwhile.
For occurrences its a get max query, also possible, but probably sth we might wanna store upfront - or is caching good enough?


Option 1) same scale for all. Use average figures for the max number that makes the bar 100%. If a record has more than that still show 100% plus maybe an indicator (color?) that there is even more?

Option 2) scale each dataset and use some service to detect the maximum within a dataset and scale all accordingly
    


Author: trobertson@gbif.org
Created: 2012-08-29 16:43:16.635
Updated: 2012-08-29 16:43:16.635
        
I don't like the bar style at all, but can live with it (I prefer just the text).

Correct behavior to me would be rescaling (in JS) based on the data the browser has to render.

    


Author: mdoering@gbif.org
Created: 2012-08-29 16:48:44.928
Updated: 2012-08-29 16:48:44.928
        
true, another
Option 3) rerender ALL bars whenever new data is loaded with the new scale


    


Author: mdoering@gbif.org
Created: 2012-08-29 16:57:27.868
Updated: 2012-08-29 16:57:27.868
        
Option 4) is the best. Remove the bars and only show the number!

Agreed to remove bars for now
    


Author: mdoering@gbif.org
Comment: we show numbers only and no bars 
Created: 2012-09-04 12:50:48.729
Updated: 2012-09-04 12:50:48.729