Chart widget question

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Wed Aug 3 18:58:32 EDT 2022


I have here only DP4 to test.

Don't you have to use com.livecode.widget.chart as widgetkind?

With
create widget "myChart" as "com.livecode.widget.chart"

set the width of last widget to 250

set the height of last widget to 250


i was able to create a chart. 

Regards,
Matthias


> Am 04.08.2022 um 00:08 schrieb David Epstein via use-livecode <use-livecode at lists.runrev.com>:
> 
> Using LC 10 dp2, I am trying to script the creation of a chart widget.  
> 
> My command “create widget myName as chart in group myMain” creates only a small gray box.  
> 
> The LC command “New Widget/Chart” creates a line chart, ready to be modified.  What is the LC command doing that I am not?
> 
> Or:  how do I find the script that LC runs when the “New Widget/Chart” command is chosen?
> 
> David Epstein
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list