0.0.28 • Published 1 month ago
@senx/discovery-plugin-plot v0.0.28
Discovery Plot
Usage
In a Web Environment
With NPM/Yarn
$ npm install @senx/discovery-widgets
$ npm install @senx/discovery-plugin-plot
With CDN
<script nomodule src="https://unpkg.com/@senx/discovery-widgets/dist/discovery/discovery.js"></script>
<script type="module" src="https://unpkg.com/@senx/discovery-widgets/dist/discovery/discovery.esm.js"></script>
<script type="module" src="https://unpkg.com/@senx/discovery-plugin-plot/dist/discovery-plugin-plot.esm.js"></script>
<script nomodule src="https://unpkg.com/@senx/discovery-plugin-plot/dist/discovery-plugin-plot.js"></script>
Usage
<html lang="en">
<head>
<title>Test</title>
</head>
<body>
<discovery-dashboard url="https://warp.senx.io/api/v0/exec" dashboard-title="Test">
{
'title' 'Test'
'description' 'Dashboard test'
'tiles' [
{
'title' 'test'
'options' { 'autoRefresh' 1 }
'x' 0 'y' 0 'w' 12 'h' 4
'type' 'plot'
'macro' <%
1 4 <%
DROP NEWGTS 'g' STORE
1 10 <%
'ts' STORE $g $ts RAND + STU * NOW + NaN NaN NaN RAND ADDVALUE DROP
%> FOR
$g
%> FOR
%>
}
]
}
</discovery-dashboard>
<script nomodule src="https://unpkg.com/@senx/discovery-widgets/dist/discovery/discovery.js"></script>
<script type="module" src="https://unpkg.com/@senx/discovery-widgets/dist/discovery/discovery.esm.js"></script>
<script type="module" src="https://unpkg.com/@senx/discovery-plugin-plot/dist/discovery-plugin-plot.esm.js"></script>
<script nomodule src="https://unpkg.com/@senx/discovery-plugin-plot/dist/discovery-plugin-plot.js"></script>
</body>
</html>
0.0.28
1 month ago
0.0.22
9 months ago
0.0.23
9 months ago
0.0.24
8 months ago
0.0.25
8 months ago
0.0.26
7 months ago
0.0.27
6 months ago
0.0.20
12 months ago
0.0.21
12 months ago
0.0.14
1 year ago
0.0.15
1 year ago
0.0.16
1 year ago
0.0.17
1 year ago
0.0.18
1 year ago
0.0.19
1 year ago
0.0.11
1 year ago
0.0.12
1 year ago
0.0.13
1 year ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.3
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago