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@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@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@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@iam.unibe.ch
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

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




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev