Text rotation in Roassal

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

Text rotation in Roassal

abergel
Hi!

I am experiencing a weird behavior when rotating text: an extra space seems to have been inserted. For example the screenshot shows ‘J anu ary’.
Anyone has seen this before? Any idea how to fix it?

Cheers,
Alexandre

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



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

Re: Text rotation in Roassal

Nicolai Hess


2015-08-02 1:55 GMT+02:00 Alexandre Bergel <[hidden email]>:
Hi!

I am experiencing a weird behavior when rotating text: an extra space seems to have been inserted. For example the screenshot shows ‘J anu ary’.
Anyone has seen this before? Any idea how to fix it?

Yes, I have seen that in other athens renderings (although not with that amount).
Can you provide the script you used for that output ( I guess this is moose-5.1 with your recent
additions for gantt charts)..


Nicolai

 

Cheers,
Alexandre

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



_______________________________________________
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: Text rotation in Roassal

abergel
Here is a script that may reproduce the problem:
=-=—==-=—==-=—==-=—==-=—=
| data b s |
data := #(#(c1 0 5) #(c1 6 8) #(c2 0 5) #(c2 8 10) #(c3 0 10) #(c4 5 10) #(c5 5 8)).

b := RTTimeline new.
s := RTTimelineSet new.
s objects: data.
s lineIdentifier: #first.
s start: #second.
s end: #third.
b add: s.
b axisX 
numberOfLabels: 5;
labelRotation: -45;
labelConversion: [ :v | Date year: 2015 day: v ]. 
b build.
^ b view
=-=—==-=—==-=—==-=—==-=—=

Yesterday I had the problem I illustrated in my email. However, the problem does not show up…

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



On Aug 3, 2015, at 4:28 PM, Nicolai Hess <[hidden email]> wrote:



2015-08-02 1:55 GMT+02:00 Alexandre Bergel <[hidden email]>:
Hi!

I am experiencing a weird behavior when rotating text: an extra space seems to have been inserted. For example the screenshot shows ‘J anu ary’.
Anyone has seen this before? Any idea how to fix it?

Yes, I have seen that in other athens renderings (although not with that amount).
Can you provide the script you used for that output ( I guess this is moose-5.1 with your recent
additions for gantt charts)..


Nicolai

 

Cheers,
Alexandre

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


<Screen Shot 2015-08-01 at 8.54.14 PM.png>

_______________________________________________
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