Re: Chart widget question

2022-08-03 Thread matthias rebbe via use-livecode
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 
> :
> 
> 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@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Chart widget question

2022-08-03 Thread David Epstein via use-livecode
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode