DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Center Text in Legend

Solved!
Go to solution

I have a legend showing four parameters for each channel in a report.  I want to align the text in the header field, and the text for each channel (the actual values) within each of the fields (rather than having them all left justified).  I cant figure out how to do this?  Tell me there is some way...?

 

New Bitmap Image.jpg

0 Kudos
Message 1 of 6
(5,408 Views)

Hello jrk3z,

 

I don't believe that you are able to center justify text inside a legend. Your should use a table instead.

 

Regards,

 

Jeff L.

0 Kudos
Message 2 of 6
(5,385 Views)

Thanks for the quick response!

 but this creates another problem.  Is there any way to make that legend in a table by just inserting the table and typing in @@ to access variable values from the plot on the same page?  I cant figure out how to access the variables of the plot (like parameters of the channel plotted:  channel name, channel unit, maximum, etc.) from the table definition interface...is there an easy way to do this or does it just make sense to write script for the whole thing?

0 Kudos
Message 3 of 6
(5,381 Views)
Solution
Accepted by topic author jrk3z

Hello jrk3z,

 

DIAdem 2011 has a pretty decent example for Legend Tables:

 

Legend Table.PNG

 

The example can be found here in DIAdem 2011:

 

Example.png

 

I hope that helps,

 

    Otmar

Otmar D. Foehner
0 Kudos
Message 4 of 6
(5,369 Views)

Many Thanks Otmar...I had seen this before and forgotten about it actually (it is the first example in the list).  CurveSnippet and GraphObjChnNameGet were the ones that I was having problems with...but this has some more good information.  Thanks again.

0 Kudos
Message 5 of 6
(5,366 Views)

I had added the wrong screenshot from the help system, this is the correct one:

 

Example.png

 

     Otmar

Otmar D. Foehner
0 Kudos
Message 6 of 6
(5,364 Views)