I've started playing around with widgets and have jumped into the deep end doing some mods to the graph widget.
I want to add a line width scale similar to the existing marker scale.
So added this to start off.
Added by Andy Piddock 07/02/2017
Summary: A scale factor to apply to lines
set the lineScale of <widget> to <real>
get the lineScale of <widget>
Value (real): A scale factor to apply to graph lines
The default scale factor is 1
property lineScale get mLineSize set SetLineSize
metadata lineScale.default is "1"
metadata lineScale.editor is "com.livecode.pi.number"
metadata lineScale.step is "0.05"
metadata lineScale.min is "0"
metadata lineScale.max is "5"
metadata lineScale.label is "Line scale"
and tried to build just to check all is ok so far and got this error
Error: No rule applicable in "grammar_full.g", line 1322
Line 1322 is the last line of the graph widget lcb file.
Any pointers to what this means please.
Last edited by AndyP
on Wed Feb 08, 2017 6:48 am, edited 1 time in total.
http://2108.co.uk/tinyide/ - TinyIDE gives you more space to develop your ideas
http://2108.co.uk/script-editor-themer/ Script Editor Themer - Your code has never looked so good
My software never has bugs. It just develops random features