GraphET (builders in general) in moose

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

GraphET (builders in general) in moose

Uko2
Hi everyone!

I want to display graphET diagrams in moose finder. All other diagram usages are based on Mondrian builder. Can someone help me to build diagrams with other builder?

Cheers.
Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GraphET (builders in general) in moose

Tudor Girba-2
Hi,

Indeed, there is no example for this in the image.

You do it by using the GraphETPresentation from Glamour. Here is a standalone example:

GLMCompositePresentation new with: [ :composite |
composite graphET 
chart: [ :chart :input | 
chart verticalBarDiagram
models: input;
y: #yourself ]];
openOn: (1 to: 42)

To do it inside the MooseFinder, you extend the instance side of your class with a method like this:

mooseFinderMyChartIn: composite
<moosePresentationOrder: 20>
composite graphET 
chart: [ :chart :input | 
chart verticalBarDiagram
models: anInputBasedOnSelf;
y: [:value | someTransformation ] ]

Let me know if this works for you.

Cheers,
Doru




On Fri, Dec 13, 2013 at 4:20 PM, Yuriy Tymchuk <[hidden email]> wrote:
Hi everyone!

I want to display graphET diagrams in moose finder. All other diagram usages are based on Mondrian builder. Can someone help me to build diagrams with other builder?

Cheers.
Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GraphET (builders in general) in moose

Uko2
Wow, thanks Doru. It works!

By the way, did you know that Moose has a peek of 55 versions in 7 days (ending 24 Feb 2011)?


Cheers!
Uko

On 13 Dec 2013, at 17:43, Tudor Girba <[hidden email]> wrote:

Hi,

Indeed, there is no example for this in the image.

You do it by using the GraphETPresentation from Glamour. Here is a standalone example:

GLMCompositePresentation new with: [ :composite |
composite graphET 
chart: [ :chart :input | 
chart verticalBarDiagram
models: input;
y: #yourself ]];
openOn: (1 to: 42)

To do it inside the MooseFinder, you extend the instance side of your class with a method like this:

mooseFinderMyChartIn: composite
<moosePresentationOrder: 20>
composite graphET 
chart: [ :chart :input | 
chart verticalBarDiagram
models: anInputBasedOnSelf;
y: [:value | someTransformation ] ]

Let me know if this works for you.

Cheers,
Doru




On Fri, Dec 13, 2013 at 4:20 PM, Yuriy Tymchuk <[hidden email]> wrote:
Hi everyone!

I want to display graphET diagrams in moose finder. All other diagram usages are based on Mondrian builder. Can someone help me to build diagrams with other builder?

Cheers.
Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GraphET (builders in general) in moose

abergel
Looks good!

Maybe you want to add #regularAxis and a #width:

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Dec 13, 2013, at 6:05 PM, Yuriy Tymchuk <[hidden email]> wrote:

> Wow, thanks Doru. It works!
>
> By the way, did you know that Moose has a peek of 55 versions in 7 days (ending 24 Feb 2011)?
>
> <Screenshot 2013-12-13 18.02.56.png>
>
> Cheers!
> Uko
>
> On 13 Dec 2013, at 17:43, Tudor Girba <[hidden email]> wrote:
>
>> Hi,
>>
>> Indeed, there is no example for this in the image.
>>
>> You do it by using the GraphETPresentation from Glamour. Here is a standalone example:
>>
>> GLMCompositePresentation new with: [ :composite |
>> composite graphET
>> chart: [ :chart :input |
>> chart verticalBarDiagram
>> models: input;
>> y: #yourself ]];
>> openOn: (1 to: 42)
>>
>> To do it inside the MooseFinder, you extend the instance side of your class with a method like this:
>>
>> mooseFinderMyChartIn: composite
>> <moosePresentationOrder: 20>
>> composite graphET
>> chart: [ :chart :input |
>> chart verticalBarDiagram
>> models: anInputBasedOnSelf;
>> y: [:value | someTransformation ] ]
>>
>> Let me know if this works for you.
>>
>> Cheers,
>> Doru
>>
>>
>>
>>
>> On Fri, Dec 13, 2013 at 4:20 PM, Yuriy Tymchuk <[hidden email]> wrote:
>> Hi everyone!
>>
>> I want to display graphET diagrams in moose finder. All other diagram usages are based on Mondrian builder. Can someone help me to build diagrams with other builder?
>>
>> Cheers.
>> Uko
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every thing has its own flow"
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GraphET (builders in general) in moose

Uko2
There are #regularAxis but they are behaving strange. And one problem with #width is that graph will be squished or stretched to a specific size that is not related to parent window width nor to values range on x axis. During my presentation on Moose day I can outline the problems that I faced during last months, and maybe this can influence further roassal development.

Uko

On 13 Dec 2013, at 18:57, Alexandre Bergel <[hidden email]> wrote:

> Looks good!
>
> Maybe you want to add #regularAxis and a #width:
>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
> On Dec 13, 2013, at 6:05 PM, Yuriy Tymchuk <[hidden email]> wrote:
>
>> Wow, thanks Doru. It works!
>>
>> By the way, did you know that Moose has a peek of 55 versions in 7 days (ending 24 Feb 2011)?
>>
>> <Screenshot 2013-12-13 18.02.56.png>
>>
>> Cheers!
>> Uko
>>
>> On 13 Dec 2013, at 17:43, Tudor Girba <[hidden email]> wrote:
>>
>>> Hi,
>>>
>>> Indeed, there is no example for this in the image.
>>>
>>> You do it by using the GraphETPresentation from Glamour. Here is a standalone example:
>>>
>>> GLMCompositePresentation new with: [ :composite |
>>> composite graphET
>>> chart: [ :chart :input |
>>> chart verticalBarDiagram
>>> models: input;
>>> y: #yourself ]];
>>> openOn: (1 to: 42)
>>>
>>> To do it inside the MooseFinder, you extend the instance side of your class with a method like this:
>>>
>>> mooseFinderMyChartIn: composite
>>> <moosePresentationOrder: 20>
>>> composite graphET
>>> chart: [ :chart :input |
>>> chart verticalBarDiagram
>>> models: anInputBasedOnSelf;
>>> y: [:value | someTransformation ] ]
>>>
>>> Let me know if this works for you.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>>
>>>
>>> On Fri, Dec 13, 2013 at 4:20 PM, Yuriy Tymchuk <[hidden email]> wrote:
>>> Hi everyone!
>>>
>>> I want to display graphET diagrams in moose finder. All other diagram usages are based on Mondrian builder. Can someone help me to build diagrams with other builder?
>>>
>>> Cheers.
>>> Uko
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>>
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every thing has its own flow"
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: GraphET (builders in general) in moose

abergel
> There are #regularAxis but they are behaving strange. And one problem with #width is that graph will be squished or stretched to a specific size that is not related to parent window width nor to values range on x axis. During my presentation on Moose day I can outline the problems that I faced during last months, and maybe this can influence further roassal development.

Excellent!
We love feature requests!

Alexandre

>
> On 13 Dec 2013, at 18:57, Alexandre Bergel <[hidden email]> wrote:
>
>> Looks good!
>>
>> Maybe you want to add #regularAxis and a #width:
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>> On Dec 13, 2013, at 6:05 PM, Yuriy Tymchuk <[hidden email]> wrote:
>>
>>> Wow, thanks Doru. It works!
>>>
>>> By the way, did you know that Moose has a peek of 55 versions in 7 days (ending 24 Feb 2011)?
>>>
>>> <Screenshot 2013-12-13 18.02.56.png>
>>>
>>> Cheers!
>>> Uko
>>>
>>> On 13 Dec 2013, at 17:43, Tudor Girba <[hidden email]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Indeed, there is no example for this in the image.
>>>>
>>>> You do it by using the GraphETPresentation from Glamour. Here is a standalone example:
>>>>
>>>> GLMCompositePresentation new with: [ :composite |
>>>> composite graphET
>>>> chart: [ :chart :input |
>>>> chart verticalBarDiagram
>>>> models: input;
>>>> y: #yourself ]];
>>>> openOn: (1 to: 42)
>>>>
>>>> To do it inside the MooseFinder, you extend the instance side of your class with a method like this:
>>>>
>>>> mooseFinderMyChartIn: composite
>>>> <moosePresentationOrder: 20>
>>>> composite graphET
>>>> chart: [ :chart :input |
>>>> chart verticalBarDiagram
>>>> models: anInputBasedOnSelf;
>>>> y: [:value | someTransformation ] ]
>>>>
>>>> Let me know if this works for you.
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>>
>>>>
>>>> On Fri, Dec 13, 2013 at 4:20 PM, Yuriy Tymchuk <[hidden email]> wrote:
>>>> Hi everyone!
>>>>
>>>> I want to display graphET diagrams in moose finder. All other diagram usages are based on Mondrian builder. Can someone help me to build diagrams with other builder?
>>>>
>>>> Cheers.
>>>> Uko
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every thing has its own flow"
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev