Re: Staticstic app, ask for idea.

2010-09-11 Thread Lucian Romi
ple, if you want a list of > measures : >>>> my_measures = instantiated_cube.measure_list("my_dimension") > > Considering the sample space I used to declare the dimension, this > should give something like this : >>>> my_measures > [65, 29] > Where 65

Re: Staticstic app, ask for idea.

2010-09-10 Thread Lucian Romi
Also, need I define "my_float_field__range"? Thanks On Fri, Sep 10, 2010 at 6:52 PM, Lucian Romi wrote: > Hi, Sebastien > > Follow your instruction, I was able to create a Cube object and define > sample_space. > However, I don't know how to retrieve the measure re

Re: Staticstic app, ask for idea.

2010-09-10 Thread Lucian Romi
field, you can calculate it with cube ... but if you > don't use the Cube for any other statistic than that, it is too much > overhead. > > On Aug 31, 5:30 am, Lucian Romi wrote: >> Thanks Sebastien. >> >> Can I integrate Cube with filter and search features f

Color code not working on admin listing table list_display.

2010-09-10 Thread Lucian Romi
Following http://docs.djangoproject.com/en/dev/ref/contrib/admin/ class Person(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) color_code = models.CharField(max_length=6) def colored_name(self): return '%s %s' % (self

Re: Staticstic app, ask for idea.

2010-08-30 Thread Lucian Romi
Thanks Sebastien. Can I integrate Cube with filter and search features from the admin app? Also, to make things simple, I'm going to use GChart, but I need statistic data. Let me download Cube and spend some time on it. Thanks. On Mon, Aug 30, 2010 at 4:16 PM, sebastien piquemal wrote: > I creat