Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gebeto/eshops-indicator
Eshops Indicator
https://github.com/gebeto/eshops-indicator
canvas chart charts data-visualization ecommerce eshops-indicator html5-canvas html5-canvas-js indicator javascript npm-package
Last synced: 2 days ago
JSON representation
Eshops Indicator
- Host: GitHub
- URL: https://github.com/gebeto/eshops-indicator
- Owner: gebeto
- License: mit
- Created: 2019-09-16T07:10:36.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T09:45:07.000Z (almost 2 years ago)
- Last Synced: 2024-10-07T12:22:28.654Z (about 1 month ago)
- Topics: canvas, chart, charts, data-visualization, ecommerce, eshops-indicator, html5-canvas, html5-canvas-js, indicator, javascript, npm-package
- Language: TypeScript
- Homepage: https://gebeto.github.io/eshops-indicator/example.html
- Size: 993 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Indicator JS
JavaScript HMTL5 Canvas indicator that shows income percentage
![Example](https://gebeto.github.io/eshops-indicator/example.png)## Installation
Using NPM for use with TypeScript/JavaScript
```sh
$ npm install eshops-indicator
```## Getting started
```html
var indicatorCanvas = document.getElementById("barack-indicator");
var indicator = new EshopsIndicator(indicatorCanvas, {
current: "-150",
previous: "400",
title: "Barack Obama",
});indicator.draw();
```