1. Bernhard Giesriegl
  2. PowerBuilder
  3. Friday, 22 May 2020 06:18 AM UTC

Hello together,

may I ask, is there any other possibilty in PB 17 to have another graph control for line type than the implemented?

Sorry, but that one looks like a little antiquted, or I'm doing anything wrong?

thanks for any suggestions,

Bernhard

Bernhard Giesriegl Accepted Answer Pending Moderation
  1. Tuesday, 26 May 2020 06:19 AM UTC
  2. PowerBuilder
  3. # 1

Hi Chris,
thanks for this suggestion, looks working great for me, but is there also an offline version of Google graphs? Didn't find any information...
best regards
Bernhard

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 26 May 2020 19:58 PM UTC
Hi Bernhard - It's against Google's "Terms of Service", as follows:



Can I use charts offline?

Your users' computers must have access to https://www.gstatic.com/charts/loader.js in order to use the interactive features of Google Charts. This is because the visualization libraries that your page requires are loaded dynamically before you use them. The code for loading the appropriate library is part of the included script, and is called when you invoke the google.charts.load() method. Our terms of service do not allow you to download the google.charts.load or google.visualization code to use offline.
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Friday, 22 May 2020 16:17 PM UTC
  2. PowerBuilder
  3. # 2

Hi Bernhard;

  If you use the free IE ActiveX plug-in via OLE ( https://www.topwizprogramming.com/freecode_webbrowser.html ) -   or -  upgrade to PB2019 R2 with its built-in web browser control, then you can then use Google Graphs. That gives any App an enormous selection of updated graph styles without purchasing extra software.  ;-)

https://developers.google.com/chart

Regards ... Chris

Comment
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 22 May 2020 13:48 PM UTC
  2. PowerBuilder
  3. # 3

Another option for modernizing graphs is a Ultimate Suite for PowerBuilder: https://www.pbultimatesuite.com/EN/modernize-pb-interface/chart-control-powerbuilder.html

Comment
  1. Bernhard Giesriegl
  2. Tuesday, 26 May 2020 06:22 AM UTC
Thanks for this suggestion, would work, but only for additional cost...
  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 26 May 2020 06:31 AM UTC
I understand the cost can be high. Just throw out the suggestion so you have considered all options.
  1. Helpful
There are no comments made yet.
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 22 May 2020 10:40 AM UTC
  2. PowerBuilder
  3. # 4

Your best options are to write a visual .Net control (MS Charts) and wrap it as an ActiveX or use a third party solution like for example FusionCharts. Here's a post (from 2008!), where someone already found them outdated:

https://sites.google.com/site/lovepb/pbwithfusioncharts

Appeon promised us to improve and modernize the current charts, but "all they did" was to allow customised softer colours, which was already possible to do by code anyway. So quite a bummer on that one.

I've used FusionCharts in the past and you'd need the MS browser control or the new control based upon the Chrome engine (pb 2019 R2) to be able to show them. If you want drill-down functionality, it's possible: you just generate the html/xml on code. A lot of work, but perfectly doable.

Others have implemented Google Charts: https://community.appeon.com/index.php/qna/q-a/use-of-google-charts-in-power-buldier (this is mobile only example, but I'm sure you could get it working on Classic PB).

Some people use the charts which come with Excel but then you need to have office and I found that the ActiveX which comes with powerbuilder and allows to use Office visual controls, are no longer functional with current office versions.

Not sure if Telerik or Syncfusion might have easy to implement charts (not cheap probably, but maybe you already have a licence).

Comment
  1. Bernhard Giesriegl
  2. Tuesday, 26 May 2020 06:24 AM UTC
Hi Miguel,



thanks for this suggestion, I will try this out, but would be great if nice graphs are part of PB!
  1. Helpful
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.