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 
> <[email protected]>:
> 
> 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
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
  • Chart widget question David Epstein via use-livecode
    • Re: Chart widget question matthias rebbe via use-livecode

Reply via email to