If you want to experiment this yourself before our undergrad students 
get to it, take a look in

    
http://static.simile.mit.edu/exhibit/api-2.0/scripts/ui/facets/numeric-range-facet.js

search for the function

    Exhibit.NumericRangeFacet.prototype._reconstruct

That's what you want to override. Particularly, look at the first for 
loop. It's computing fixed intervals. You probably can change it to 
compute log intervals.

David

Gudmundur A. Thorisson wrote:
> Yebs, the loginterval thing is pretty much what I am looking for as  
> well (see my earlier mail about p-values).
>
>
>          Mummi
>
> On 18 Feb 2008, at 22:01, David Huynh wrote:
>
>   
>> Hi Vincent,
>>
>> Thanks for your suggestions! I'm accumulating the todos for Exhibit  
>> here
>>
>>     http://simile.mit.edu/wiki/Exhibit_Todos
>>
>> We're hiring a few undergrad students this term and the coming summer
>> and they will be going through this list.
>>
>> David
>>
>> Vincent Borghi wrote:
>>     
>>> Hello,
>>>
>>> I have 2 requests/suggestions:
>>>
>>> === req 1 ===
>>> As far as I understand, in a "numeric range" facet,
>>> you can only specify a fixed interval. It would be nice
>>> to be able to specify non-fixed ranges.
>>>
>>> For example, we can imagine something like:
>>>        ex:intervals="5,10,20,100"
>>> that would define the 5 intervals "less than 5",  6-10, 11-20,
>>> 21-100, and "more than 100".
>>>
>>> Perhaps could we also express a logarithmic scale
>>> of intervals using some syntax (loginterval="10" would
>>> define successive intervals of 10, 100, 1000, 10000...
>>>
>>> === req 2 ===
>>> When I choose to sort the items by a numeric property
>>> whose facet is configured with intervals, and  while the "group as  
>>> sorted"
>>> option is checked, I would like the items to be grouped by values
>>> in the intervals such as defined, and not grouped by discrete values.
>>>
>>> Thanks for your help!
>>>
>>>
>>>
>>> --------------------------------------------------------------------- 
>>> ---
>>>
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://simile.mit.edu/mailman/listinfo/general
>>>
>>>       
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>     
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to