33

Zeu.js:实时监控可视化组件库

 5 years ago
source link: https://github.com/shzlw/zeu?amp%3Butm_medium=referral
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Zeu.js

Zeu.js is JavaScript library featuring a collection of prebuilt visualization components for building real-time TV dashboard, monitoring UI and IoT web interface.

Installation

From dist

<script src="zeu.min.js"></script>

Quick Start

Let's build our first Zeu component!

<!-- Include zeu.js. -->
<script src="zeu.min.js"></script>
<!-- Create a canvas. -->
<canvas id="text-meter" width="200" height="100"></canvas>
<script>
  // Create a Zeu TextMeter.
  var textMeter = new zeu.TextMeter('text-meter');
  // Update display and percentage value.
  textMeter.displayValue = 'ZEU';
  textMeter.value = 50;
</script>

yUbaI3z.gif

Done! Explore the Introduction page to get started.

v1.0.0

VZBRR3u.gif

My Command Center

Documentation

Build

From source

npm run build

v0.9.4

The previous release can be found at v0.9.4

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK