Hi Alex,
On Sun, Nov 30, 2014 at 12:46 PM, Alexandre Bergel <alexandre.bergel(a)me.com>
wrote:
Hi Usman!
I’ve just committed a new version of Grapher. I worked a lot this week end
on it (improving it and migrating the Charter example). Can you try again
please?
Yes the problem is solved. Thank you.
Here is a new version of your graph:
-=-=-=-=-=-=-=-=-=-=-=-=
b := RTGrapherBuilder new.
b extent: 300 @ 200.
data := {Date yesterday. Date today. Date tomorrow}.
dataSet := RTDataSet new
points: data;
x: [ :each | (data indexOf: each) + 2];
y: [ :each | each dayOfWeek ].
b add: dataSet.
dataSet dotShape color: (Color blue alpha: 0.3); size: 10.
dataSet connectColor: (Color red alpha: 0.4).
b axisXWithNumberOfTicks: 5.
b axisXNoLabel.
b axisY.
b build.
b
-=-=-=-=-=-=-=-=-=-=-=-=
Let me know how it goes. Your experience with Grapher is important.
Cheers,
Alexandre
On Nov 29, 2014, at 8:45 AM, Usman Bhatti
<usman.bhatti(a)gmail.com>
wrote:
Alex,
I think I'll stick to Charter for the moment because it appears more
complete.
For example, here is a simple example with Grapher that I am
trying to create. The problem is that the position of axes changes with the
values of the graph.
| b data dataSet|
b := RTGrapherBuilder new.
data := {Date yesterday. Date today. Date tomorrow}.
dataSet := RTDataSet new
points: data;
x: [ :each | (data indexOf: each) + 2];
y: [ :each | each dayOfWeek ].
b add: dataSet.
dataSet dotShape color: (Color blue alpha: 0.3); size: 10.
dataSet connectColor: (Color red alpha: 0.4).
b axisX.
b axisXNoLabel.
b axisY.
b build.
b view open
regards,
On Thu, Nov 27, 2014 at 9:00 PM, Usman Bhatti <usman.bhatti(a)gmail.com>
wrote:
Thanks Alex.
Looks like Grapher exposes DataSet object to the user.
I'll have a look and let you know what is missing.
It'll be good to make all examples working in Grapher though.
usman
On Thu, Nov 27, 2014 at 5:24 PM, Alexandre Bergel <
alexandre.bergel(a)me.com>
wrote:
Hi Usman!
RTCharterBuilder is not properly designed and has some limitations. You
may not
see the limitations for simple cases.
RTGrapherBuilder is better designed, but it is
not as complete as
RTCharterBuilder, as you have seen.
Maybe, try to use Grapher, and if you need things, let me know.
Cheers,
Alexandre
> On Nov 27, 2014, at 11:56 AM, Usman Bhatti <usman.bhatti(a)gmail.com>
wrote:
>
> Hi Alex,
>
> I started to look into Charter and I would like to know which builder
to use
in Roassal2 for drawing graphs because currently we have
RTGrapherBuilder and RTCharterBuilder. It looks to me as if they are
providing similar services but RTCharterBuilder is more up to date.
regards,
usman
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev