Skip to content

Commit

Permalink
updated on "production"
Browse files Browse the repository at this point in the history
  • Loading branch information
David-PLC committed Apr 20, 2023
1 parent 952bd95 commit 0e95348
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ HTML area chart element done with ApexChart
```

- ONLINE MODE (WinCC Unfied)
- Set "production" to true
```js
var production = true;
```
- To import the custom web control the hierarchy of folders and files must be compressed in ZIP format.
- The name of the ZIP must be the GUID used the "manifest.json" file surrounded by curly brackets

Expand Down
4 changes: 2 additions & 2 deletions {4703190B-4D05-4F16-B52C-B4E3B46092C2}/control/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<script src="unified.interface.js"></script>
<link href="lib/style.css" rel="stylesheet">
<script>
var production = false;
var production = true;

function init(result) {
if (result) {
Expand All @@ -35,7 +35,7 @@
X_axisname: 'Days',
Y_axisname: 'Temperatures',
SeriesLabels: 'True',
LineType: 'smooth'
LineType: 'Smooth'
};
init(true);
}
Expand Down

0 comments on commit 0e95348

Please sign in to comment.