All,
I'm using this script to add text annotation to the plot:
Eval(Parse(Eval Insert(JSL Quote(
biv<<SendToReport(
Dispatch(
{},
"Bivar Plot",
FrameBox,
Add Text Annotation(
Text( "R²=^R2^ \!nSlope=^Slope^" ),
/*Font( "Segoe UI", 12, "Plain" ),*/
Fixed Size( 0 ),
Text Box( 15, 15, 200, 200 ),
Filled( 1 ),
Editable( 0 ),
Background Color( "Light Yellow" ),
Text Color( "^fitColor^" )
)
)
);
)
)));
I don't change Font in this case.
I get picture that is just fine:
![2022-06-02 11_15_34-Window.png 2022-06-02 11_15_34-Window.png](https://community.jmp.com/t5/image/serverpage/image-id/42918i4C46323FCEB9E5C8/image-size/large?v=v2&px=999)
with one exception - it's going to to be imported to a PPTX and font size for that text is too small. I need it bigger.
So then when I uncomment the font line in the script above to change font size to 12, I get this:
![2022-06-02 11_16_28-Window.png 2022-06-02 11_16_28-Window.png](https://community.jmp.com/t5/image/serverpage/image-id/42919i4410F895E92B0B0B/image-size/large?v=v2&px=999)
It looks to me that the Text Box ignores the sizes I provide (Text Box( 15, 15, 200, 200 )
) and draws box enough to fit the text, but then it only considers the default text font and size, if I increase text size or change font to one that has bigger\wider symbols, text box is not enough anymore. I can manually resize it, but this is part of automated script to produce reports in PPTX.
Any ideas how to make the text bigger and text box not clip it?