Graph2 label font size
Peter van Rooij
petervanrooij at wanadoo.nl
Wed May 21 07:14:41 EDT 2008
Hello Jim
Thanks a lot.
Regards
Peter
On 21 mei 2008, at 12:53, Jim Pistrang wrote:
> Hi Peter,
>
>> Could you tell me a bit more about this.
>> How do you embed these tags?
>
> A tag to change the size of text to 24-point looks like this:
> <*size=24*>
>
> If I want the subtitle of my graph to be this size I could do this:
>
> Calculate ivGraphRef.$subtitle as '<*size=24*>Incidents by Day'
>
> (note: ivGraphRef is a reference to the graph2 object on the window)
>
> However, some of the text objects are not simple properties. For
> example, the legend on the graph is built from the text in the first
> column of the list that is in the $dataname associated with the graph.
> Consider a list that looks like this:
> Monday 25
> Tuesday 30
> Wednesday 33
> Thursday 27
> Friday 18
> If you want the legend to appear in size 24 you would need to make the
> list look like this:
> <*size=24*>Monday 25
> <*size=24*>Tuesday 30
> <*size=24*>Wednesday 33
> <*size=24*>Thursday 27
> <*size=24*>Friday 18
>
> The markup language is referred to in the documentation as CDML
> (ChartDirector Markup Language). (google on this to find all sorts of
> documentation) You can use it to modify font, size, width, height,
> color, and underline, as well as to embed images.
>
> Hope this is helpful.
>
> Jim
>
>
>
>
> --
> Jim Pistrang
> JP Computer Resources
> Certified Member, Apple Consultants Network
> 413-256-4569
> <http://www.jpcr.com>
>
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
More information about the omnisdev-en
mailing list