Basic example of Google Charts with DataFlex WebApp: Difference between revisions

From DataFlex Wiki
Jump to navigationJump to search
(Created page with "'' By Mike Peat '' Below we will create a DataFlex wrapper component for the Google Charts component. A wrapper consists of multiple parts working together, so that you can...")
 
(2 intermediate revisions by the same user not shown)
Line 119: Line 119:


=== The DataFlex counterpart class ===
=== The DataFlex counterpart class ===
Create a new file called cWebChart.pkg in the AppSrc folder and copy the following in there.
DataFlex class (AppSrc\cWebChart.pkg):


<source lang="dataflex">
<source lang="dataflex">
Line 282: Line 286:
     <!-- DataFlex Custom Controls (do not remove this line, used for automatic insertion) -->
     <!-- DataFlex Custom Controls (do not remove this line, used for automatic insertion) -->
     <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
     <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
     <script src="GoogleCharts/Chart.js"></script>
     <script src="GoogleCharts/Charts.js"></script>
      
      
     <!-- Initialization of the WebApp -->
     <!-- Initialization of the WebApp -->
     ...</source>
     ...</source>


=== Screenshots and example workspace ===


=== External links ===
=== External links ===

Navigation menu