1. Dean Helsley
  2. PowerBuilder
  3. Thursday, 18 February 2021 20:57 PM UTC

I've been looking at the Demo app and the chart integration is really nice.  I'm trying to implement a Gauge, but I can't get it to work.  I'm using the option code from the Apache gauge example on their site, but it doesn't appear to work.  After EvaluateJavaScriptSync is executed, the result string contains '{"type":"object","value":"unsupport"}'

I also tried modifying example.html, and the value I specified is displayed on screen, but there is no gauge shown.  I feel like I'm either overlooking an obvious mistake or not all chart types are supported.  Any help would be appreciated.  I attached the modified example.


Attachments (1)
Arnd Schmidt Accepted Answer Pending Moderation
  1. Friday, 19 February 2021 00:18 AM UTC
  2. PowerBuilder
  3. # 1

It looks like the echarts source JS is not properly referenced or does not exist.

I have an echarts subdirectory including newest donwloaded release and use:

    <!-- including echarts.js  file-->
    <script src="echarts/echarts.min.js"></script>

And voiila ..  the gauge will be displayed.





There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Monday, 22 February 2021 04:53 AM UTC
  2. PowerBuilder
  3. # 2

Hi Dean,

As Arnd mentiond, please include echarts.min.js (or echarts.js) to solve the issue, you can download it form Github:


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.