Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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();

```