Hi,
It's ok, but when i zoom, i can't drag the graph. i have a browser and a small panel for view the graph, so the graph is small. i want to allow user to drag the graph when he zoom it.
thanks 2014-05-20 20:00 GMT+07:00 <[hidden email]>: Send Moose-dev mailing list submissions to ATREVI D. Fabrice Master en Informatique A l'Institut de la Francophonie pour l'Informatique (IFI/Hanoï) _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Fabrice,
I am not sure to understand. It would be great if you could send me a small example of what is wrong. Look at this example: -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= | b | b := GLMTabulator new. b column: #first. b column: #second. b transmit to: #first; andShow: [ :a | a list display: (1 to: 20); yourself ]. b transmit from: #first; to: #second; andShow: [ :a | a roassal2 painting: [ :view :input | | bg | bg := GET2Line new view: view; data: (input to: 30). bg y: [ :x | x * x ]. bg build. view @ RTDraggableView. ] ]. b openOn: 42 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= I’ve sent you this example before. Here, I have added the line "view @ RTDraggableView.”. With this new line, I can drag the view. Does this help? Will you be at the moose day in Paris? Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. On May 20, 2014, at 2:01 PM, Fabrice Atrevi <[hidden email]> wrote: > Hi, > It's ok, but when i zoom, i can't drag the graph. i have a browser and a small panel for view the graph, so the graph is small. i want to allow user to drag the graph when he zoom it. > thanks > > > 2014-05-20 20:00 GMT+07:00 <[hidden email]>: > Send Moose-dev mailing list submissions to > [hidden email] > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > or, via email, send a message with subject or body 'help' to > [hidden email] > > You can reach the person managing the list at > [hidden email] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Moose-dev digest..." > > > Today's Topics: > > 1. Re: dirty packages in Moose image (Stephan Eggermont) > 2. Re: view of graph in glamour (Alexandre Bergel) > 3. Code city and GToolkit in configuration browser? (Yuriy Tymchuk) > 4. Re: Code city and GToolkit in configuration browser? (Tudor Girba) > 5. Re: FamixDiff over-writing methods in Moose (Nicolas Anquetil) > 6. PetitParser stable. (Yuriy Tymchuk) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 19 May 2014 23:14:22 +0200 > From: Stephan Eggermont <[hidden email]> > Subject: [Moose-dev] Re: dirty packages in Moose image > To: Moose-related development <[hidden email]> > Message-ID: <[hidden email]> > Content-Type: text/plain; charset=us-ascii > > #development of Magritte refers to version32, which refers to Grease 1.1.6 > Grease has promoted 1.1.8 to both stable and development. > > Stephan > > > ------------------------------ > > Message: 2 > Date: Mon, 19 May 2014 18:52:14 -0400 > From: Alexandre Bergel <[hidden email]> > Subject: [Moose-dev] Re: view of graph in glamour > To: Moose-related development <[hidden email]> > Message-ID: <[hidden email]> > Content-Type: text/plain; charset=windows-1252 > > You can simply send the message focusOnCenter to the ?builder view canvas camera?. > > Try the ?center? button in this example: > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > | movies builder table | > table := GET2Table from: 'Movie;Genre;Production Budget;Total Domestic Box Office;Rating IMDB > Avatar;Action;425000000;760507625; 8.0 > The Blind Side;Drama;35000000;255959475; 7.6 > The Chronicles of Narnia: The Lion, the Witch and the Wardrobe;Adventure;180000000;291710957; 6.9 > The Dark Knight;Action;185000000;533345358; 9.0 > ET: The Extra-Terrestrial;Drama;10500000;435110554; 7.9 > Finding Nemo;Adventure;94000000;380529370; 8.1 > Ghostbusters;Comedy;30000000;238632124; 7.8 > The Hunger Games;Thriller/Suspense;80000000;408010692; 7.2 > Iron Man 3;Action;200000000;396702239; 7.6 > Jurassic Park;Action;63000000;395708305; 8.0 > King Kong;Adventure;207000000;218080025; 7.3 > The Lion King;Adventure;79300000;422780140; 8.4 > Monsters Inc.;Adventure;115000000;289423425; 8.0 > The Twilight Saga: New Moon;Drama;50000000;296623634; 4.5 > Oz the Great and Powerful;Adventure;200000000;233671832; 6.6 > Pirates of the Caribbean: Dead Mans Chest;Adventure;225000000;423315812; 7.3 > Quantum of Solace;Action;230000000;169368427; 6.7 > Raiders of the Lost Ark;Adventure;20000000;248159971; 8.7 > Star Wars Ep. I: The Phantom Menace;Adventure;115000000;474544677; 6.5 > Titanic;Thriller/Suspense;200000000;658672302; 7.6 > Up;Adventure;175000000;293004164; 8.3 > The Vow;Drama;30000000;125014030; 6.7 > The War of the Worlds;Action;132000000;234280354; 6.5 > X-Men: The Last Stand;Action;210000000;234362462; 6.8 > Youve Got Mail;Drama;65000000;115821495; 6.3 > Zookeeper;Romantic Comedy;80000000;80360866; 5.0'. > movies := table asDataSet. > > builder := GET2Scatterplot data: movies. > builder > x: [:m | (m at: 'Production Budget') / 1000000]; > y: [:m | (m at: 'Total Domestic Box Office') / 1000000]; > r: [:m | (m at: 'Rating IMDB') * 5]; > color: (Color brown alpha:0.4); > height: 400; > width: 800. > > builder xAxis title: 'Production Budget'. > builder yAxis title: 'Total Domestic Box Office'. > builder showValues: [:m | m at: 'Movie']. > builder interaction strongHighlightWhenOver. > builder view canvas addMenu: 'center' callback: [ builder view canvas camera focusOnCenter. builder view signalUpdate ]. > builder open. > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > Does this help? > > Cheers, > Alexandre > > > On May 19, 2014, at 5:03 PM, Fabrice Atrevi <[hidden email]> wrote: > > > Hi, > > I added the height and the width but this not resolve the problem. > > I got for height 70 the first screen shot and for 140 the second. The problem is that when i increase the height, part of graph hidden and i must to zoom. How can i center the graph in the middle of panel? > > > > thanks > > > > > > 2014-05-19 23:39 GMT+07:00 <[hidden email]>: > > Send Moose-dev mailing list submissions to > > [hidden email] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > or, via email, send a message with subject or body 'help' to > > [hidden email] > > > > You can reach the person managing the list at > > [hidden email] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Moose-dev digest..." > > > > > > Today's Topics: > > > > 1. Jenkins build is back to stable : moose-5.0 #1424 > > ([hidden email]) > > 2. Re: please stop using strings :) (Alexandre Bergel) > > 3. Re: view of graph in glamour (Alexandre Bergel) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Mon, 19 May 2014 15:55:39 +0200 (CEST) > > From: [hidden email] > > Subject: [Moose-dev] Jenkins build is back to stable : moose-5.0 #1424 > > To: [hidden email] > > Message-ID: > > <[hidden email]> > > Content-Type: text/plain; charset=UTF-8 > > > > See <https://ci.inria.fr/moose/job/moose-5.0/1424/> > > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Mon, 19 May 2014 12:33:45 -0400 > > From: Alexandre Bergel <[hidden email]> > > Subject: [Moose-dev] Re: please stop using strings :) > > To: Moose-related development <[hidden email]> > > Message-ID: <[hidden email]> > > Content-Type: text/plain; CHARSET=US-ASCII > > > > I perfectly agree. I think Pablo did this because of an algorithm he found and copied it. Untangling the whole thing is relatively straight forward. > > The starting point is to look at the implementation of #rawPalette in the subclasses of ColorPalette. > > > > I will put this on our todo list. > > > > Alexandre > > -- > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > > Alexandre Bergel http://www.bergel.eu > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > > On May 18, 2014, at 8:46 AM, Tudor Girba <[hidden email]> wrote: > > > > > Hi, > > > > > > The ColorPalette in Roassal2 is quite cool, but we should refactor the code to not rely on strings. > > > > > > An example: > > > |n elements view| > > > n := RTBucketColor numberOfColors: 5 command: #asInteger scope: ($a to: $z). > > > n colorScheme: 'Blues'. > > > elements := (RTBox new size: 20; color: n) elementsOn: ($a to: $z). > > > view := RTView new. > > > view addAll: elements. > > > RTGridLayout on: view elements. > > > view open. > > > > > > 'Blues' is actually an identifier that is looked up in all the rawPalette keys returned by the subclasses of ColorPalette. > > > > > > This is not nice. We should have for each palette a method with the same name, and the colorScheme: should work with an object like: > > > n colorScheme: CPSequential blues > > > > > > Do we agree on this? > > > > > > Doru > > > > > > -- > > > www.tudorgirba.com > > > > > > "Every thing has its own flow" > > > _______________________________________________ > > > Moose-dev mailing list > > > [hidden email] > > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > > > > > ------------------------------ > > > > Message: 3 > > Date: Mon, 19 May 2014 12:39:18 -0400 > > From: Alexandre Bergel <[hidden email]> > > Subject: [Moose-dev] Re: view of graph in glamour > > To: Moose-related development <[hidden email]> > > Message-ID: <[hidden email]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > You can use #height: and #width: to a builder to set a particular size. Try this: > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > | builder normalizer data | > > data := (1 to: 100) collect: [ :i | Array with: i with: 20 atRandom + 30 ]. > > > > normalizer := RTNColorLinearNormalizer > > inContext: data withCommand: #second lowColor: Color paleRed highColor: Color blue. > > > > builder := GET2Line data: data. > > builder > > x: #first; > > y: #second; > > lineWidth: 2; > > dotColor: [ :v | (normalizer rtValue: v) alpha: 0.5]; > > dotSize: 15; > > height: 100; > > width: 150. > > > > > > builder build. > > builder view > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > > > > > > > > Without specifying height: and width: gives you something like: > > > > > > -- > > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > > Alexandre Bergel http://www.bergel.eu > > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > > On May 19, 2014, at 4:42 AM, Fabrice Atrevi <[hidden email]> wrote: > > > > > hi, > > > i build a graph in glamour. But, when i run my browser, the graph not be at the center of the panel (like in the screen shot) and there are not the scroll bar for view properly. Also, i want to label the axis, how can i do it? > > > > > > thanks! > > > -- > > > ATREVI D. Fabrice > > > Master en Informatique A l'Institut de la Francophonie pour l'Informatique (IFI/Hano?) > > > <pb_barre_deroulant.PNG>_______________________________________________ > > > Moose-dev mailing list > > > [hidden email] > > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20140519/e7c6bb53/attachment.html> > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: Screen Shot 2014-05-19 at 12.38.05 PM.png > > Type: image/png > > Size: 59456 bytes > > Desc: not available > > URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20140519/e7c6bb53/attachment.png> > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: Screen Shot 2014-05-19 at 12.38.44 PM.png > > Type: image/png > > Size: 23766 bytes > > Desc: not available > > URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20140519/e7c6bb53/attachment-0001.png> > > > > ------------------------------ > > > > _______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > > > > End of Moose-dev Digest, Vol 93, Issue 52 > > ***************************************** > > > > > > > > -- > > ATREVI D. Fabrice > > Master en Informatique A l'Institut de la Francophonie pour l'Informatique (IFI/Hano?) > > <h70.PNG><h140.PNG>_______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > ------------------------------ > > Message: 3 > Date: Tue, 20 May 2014 11:49:10 +0200 > From: Yuriy Tymchuk <[hidden email]> > Subject: [Moose-dev] Code city and GToolkit in configuration browser? > To: Moose-related development <[hidden email]> > Message-ID: <[hidden email]> > Content-Type: text/plain; CHARSET=US-ASCII > > Maybe we should put them there? These are cool tools that pharo users can bereft from. > > Uko > > > ------------------------------ > > Message: 4 > Date: Tue, 20 May 2014 13:17:54 +0200 > From: Tudor Girba <[hidden email]> > Subject: [Moose-dev] Re: Code city and GToolkit in configuration > browser? > To: Moose-related development <[hidden email]> > Message-ID: > <[hidden email]> > Content-Type: text/plain; charset="utf-8" > > Yes, they should get there. I just did not get around the Snapshotcello > them. > > Doru > > > On Tue, May 20, 2014 at 11:49 AM, Yuriy Tymchuk <[hidden email]>wrote: > > > Maybe we should put them there? These are cool tools that pharo users can > > bereft from. > > > > 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" > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20140520/c15d27fc/attachment-0001.html> > > ------------------------------ > > Message: 5 > Date: Tue, 20 May 2014 14:12:14 +0200 > From: Nicolas Anquetil <[hidden email]> > Subject: [Moose-dev] Re: FamixDiff over-writing methods in Moose > To: Moose-related development <[hidden email]> > Message-ID: <[hidden email]> > Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" > > > The method FAMIXPackage>>containedEntities for FamixDiff considers all > kind of possible sub-entites: classes, global variables, package, functions > > The method for Famix-Extension, just considers classes > > So it seems our implementation is more generic ... > > Further more it seems it is only used in FamixDiff, so I would suggest > to commit our version to Famix-extension ... > > > > Pb with TestResources packages should be corrected now > > nicolas > > On 19/05/2014 11:34, Usman Bhatti wrote: > > Hello, > > > > I am having a look why do we get several dirty packages because of > > FamixDiff. So, when I load FamixDiff in a fresh moose image, the > > following are marked as dirty so please have a look: > > > > - FAMIX-Extensions: FamixDiff over-writes FAMIXPackage >>containedEntities > > - FamixDiff deletes all test classes in > > packages: Moose-TestResources-PackageBlueprint-P2, Moose-TestResources-PackageBlueprint-P3, > > and Moose-TestResources-PackageBlueprint-P4. > > > > Will be great if someone can have a look. > > > > usman > > > > > > _______________________________________________ > > Moose-dev mailing list > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://www.iam.unibe.ch/pipermail/moose-dev/attachments/20140520/1a90c845/attachment-0001.html> > > ------------------------------ > > Message: 6 > Date: Tue, 20 May 2014 14:59:48 +0200 > From: Yuriy Tymchuk <[hidden email]> > Subject: [Moose-dev] PetitParser stable. > To: Moose-related development <[hidden email]> > Message-ID: <[hidden email]> > Content-Type: text/plain; CHARSET=US-ASCII > > Hi, for now there is no stable version of PetitParser for Pharo3. Are there as known issues with current dev. version? Can we snapshot it and promote to stable for Pharo3? > > Uko > > > ------------------------------ > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > > End of Moose-dev Digest, Vol 93, Issue 57 > ***************************************** > > > > -- > ATREVI D. Fabrice > Master en Informatique A l'Institut de la Francophonie pour l'Informatique (IFI/Hanoï) > _______________________________________________ > 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 |
Free forum by Nabble | Edit this page |