Editable plot width
Posted: Tue Oct 09, 2018 4:04 am
Hi again,
is it possible to modify the width of a plot using a TextBox?
I have defined a text box in name.u.yaml:
In the name.r.yaml I added:
This results in the following error:
I guess the "width" is saved as a string in the text box. Is there an easy way to change this?
Thanks in advance!
is it possible to modify the width of a plot using a TextBox?
I have defined a text box in name.u.yaml:
Code: Select all
- type: TextBox
name: PlotWidth
format: number
inputPattern: '[0-9]+'
Code: Select all
- name: plot
title: Plot
type: Image
width: (PlotWidth)
height: 400
renderFun: .plot
Code: Select all
Unable to compile 'rulr.r.yaml':
results.items[1].width is not of a type(s) integer
Thanks in advance!