1. Wayne Wan
  2. PowerBuilder
  3. Wednesday, 24 March 2021 08:19 AM UTC

hi guys, I want to use the Graph control or Graph type datawindow in pb. But it is so ugly, the text, the label, the line, bla bla bla, are all so ugly. I can't believe my eyes. LOL.

so, if someone has good examples about graph control, please share with me. Thank you very much.

Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 24 March 2021 14:30 PM UTC
  2. PowerBuilder
  3. # 1

Hi Wayne,

The common technique to do this is integrate a charting library.  There are lots of free open-source JavaScript charts out there that you could use a Web browser control to display.  Here is PB 2019 R3 example app to demonstrate: https://github.com/Appeon/PowerBuilder-Graph-Example

The issue is that PB 11 doesn't allow you to execute JavaScript  in the Web browser from PowerScript, which will limit which chart implementations you can use. Also, it is using Internet Explorer, which is obsolete and unsecure.

Keep in mind tons of new features added since PB 11.  For example, there is a new feature called UI Themes that codelessly modernizes the look n' feel of your application using pre-defined style sheets.  https://www.appeon.com/products/powerbuilder/ui-modernization

So long story short, I recommend to upgrade to PB 2019 R3 if you care about modernizing your UI.

Best regards,
Armeen

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.