* Customising diagrams

Homeless Posts from the old forum system
Locked
User avatar
wulliam
Famous
Posts: 149
Joined: 03 Oct 2009 10:29
Family Historian: V7
Contact:

Customising diagrams

Post by wulliam » 03 Sep 2011 12:18

I'm making some good progress with the diagrams I want but...

Is it possible in a diagram to say, 'If there's a picture then the gap at the top of the box should be one size, but if there's no picture then the gap should be a different size'?

Hope that makes sense.
Thanks for reading.

ID:5432

User avatar
tatewise
Megastar
Posts: 27089
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Customising diagrams

Post by tatewise » 03 Sep 2011 14:30

I am not quite sure what you are trying to achieve, but here are some ideas.

In Standard top-down diagrams, the picture is on the right-hand side by default.
Each box Autosizes (expands or contracts) according to the information displayed, including pictures.
However, there are constraints on this adjustment, which are defined on the Diagram > Options > Dimensions tab.
There you can set Minimum/Maximum/Standard box width/height.

If you want all boxes the same size then investigate the Diagram > Pages, Rows/Columns & Boxes > options.

To insert some white space if there is no picture then add an item to the Text Scheme such as:
=NotExistsText(%INDI.OBJE>_FILE%,'                                                                                            ')

User avatar
tatewise
Megastar
Posts: 27089
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Customising diagrams

Post by tatewise » 03 Sep 2011 15:09

For reasons I cannot explain that last Text Scheme item does not work reliably, so try this one:
=TextIf(Bool(MediaCount(%INDI%) = 0),'     ','')
which may need to be repeated depending how much gap you want.

User avatar
wulliam
Famous
Posts: 149
Joined: 03 Oct 2009 10:29
Family Historian: V7
Contact:

Customising diagrams

Post by wulliam » 03 Sep 2011 15:36

Tatewise - thanks for that. I've adapted it and it works perfectly. Cheers!!

Locked