new widget Chart

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
m99
Posts: 2
Joined: Sat Mar 24, 2018 7:23 pm

new widget Chart

Post by m99 » Thu Mar 09, 2023 1:39 pm

Hi, I,m using the new Chart Widget in my app. It´s working fine in the IDE, but after generating the standalone (windows) appears only a "Widget"-Icon without content. The Widget is activited under inclusions.
What could be wrong?
I´m using LC 10 (dp4)
best regards
Norbert Roemer

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: new widget Chart

Post by Klaus » Thu Mar 09, 2023 5:43 pm

This is how it looks in the standalone:
image.png
image.png (6.33 KiB) Viewed 2719 times

prometheus
Posts: 40
Joined: Sun Dec 13, 2015 6:05 pm

Re: new widget Chart

Post by prometheus » Thu Mar 09, 2023 10:36 pm

You need to manually add the Browser widget to the standalone inclusions.

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: new widget Chart

Post by AndyP » Fri Mar 10, 2023 7:21 am

Yep, caught me out too.

I added a bug report on this a while ago.

https://quality.livecode.com/show_bug.cgi?id=24092

The browser widget must be included in the stack but can be invisible.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: new widget Chart

Post by Klaus » Fri Mar 10, 2023 10:11 am

AHA! Thanks a bunch, would never have thought of that!

m99
Posts: 2
Joined: Sat Mar 24, 2018 7:23 pm

Re: new widget Chart

Post by m99 » Fri Mar 10, 2023 10:33 am

Thanks, now it works perfectly
Norbert

prometheus
Posts: 40
Joined: Sun Dec 13, 2015 6:05 pm

Re: new widget Chart

Post by prometheus » Fri Mar 10, 2023 4:27 pm

No need to add a browser widget if you select inclusions manually on the standalone settings.
Actually if you add a browser widget even if it is hidden that would add an extra load to the app.
That's why I rather to select inclusions manually

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: new widget Chart

Post by Klaus » Fri Mar 10, 2023 4:35 pm

prometheus wrote:
Fri Mar 10, 2023 4:27 pm
No need to add a browser widget if you select inclusions manually on the standalone settings.
Actually if you add a browser widget even if it is hidden that would add an extra load to the app.
That's why I rather to select inclusions manually
You probably missed this one:
The Widget is activited under inclusions.

prometheus
Posts: 40
Joined: Sun Dec 13, 2015 6:05 pm

Re: new widget Chart

Post by prometheus » Fri Mar 10, 2023 5:36 pm

Klaus wrote:
Fri Mar 10, 2023 4:35 pm
prometheus wrote:
Fri Mar 10, 2023 4:27 pm
No need to add a browser widget if you select inclusions manually on the standalone settings.
Actually if you add a browser widget even if it is hidden that would add an extra load to the app.
That's why I rather to select inclusions manually
You probably missed this one:
The Widget is activited under inclusions.
I see :), sorry I didn't explain as I should have
what I meant is you have to select the Chart widget and the Browser widget both (and other needed component you're using) in the inclusions, not just the Chart widget

Klaus
Posts: 13820
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: new widget Chart

Post by Klaus » Fri Mar 10, 2023 5:40 pm

Ah, yes, we've come so far, too. :-D

Post Reply

Return to “Talking LiveCode”