# point-plot

> dot and line, dots to dots connect

Latest version **1.1.4** (published 2019-06-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install point-plot
pnpm add point-plot
yarn add point-plot
bun add point-plot
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2019-06-18 |
| First published | 2019-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 34.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Nicole Wong |
| Maintainers | nicoleffect |
| Keywords | dot, line, connect, point, plot |

## Links

- npm: https://www.npmjs.com/package/point-plot
- Repository: https://github.com/nicoleffect/point-plot
- Homepage: https://nicoleffect.github.io/point-plot/examples/index.html
- Issues: https://github.com/nicoleffect/point-plot/issues
- npm.io page: https://npm.io/package/point-plot

## Dependencies (1)

- [canvas-retina](https://npm.io/package/canvas-retina.md) ^1.0.1

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2019-06-18
- 1.1.3 — 2019-04-18
- 1.1.2 — 2019-04-18
- 1.1.1 — 2019-04-11
- 1.1.0 — 2019-04-10
- 1.0.9 — 2019-04-09
- 1.0.8 — 2019-04-06
- 1.0.7 — 2019-04-04
- 1.0.6 — 2019-04-04
- 1.0.5 — 2019-04-03
- 1.0.4 — 2019-04-03
- 1.0.3 — 2019-04-02
- 1.0.2 — 2019-04-02
- 1.0.1 — 2019-04-02
- 1.0.0 — 2019-04-02

## README

# point-plot

dot and line, dots to dots connect

[demo1 -->](https://nicoleffect.github.io/point-plot/examples/index.html)
[demo2 -->](https://nicoleffect.github.io/point-plot/examples/index2.html)

## examples

```
// html
<canvas id="canvas"></canvas>
```
```
// npm install point-plot
import pointPlot from 'point-plot'

 pointPlot({
  canvas: document.getElementById('canvas'), // require
  color: '255,255,255', // default
  r: 4, // default
  distance: 100, // default, distance of dot to dot
  isConnect: true, // default, if you don't need lines, set it false
  isOnClick: true, // default, event for click or touchstart
  isOnMove: true// default
 })

```
```
// or

<script src="https://nicoleffect.github.io/point-plot/dist/point-plot.iife.min.js"></script>

pointPlot({ canvas: document.getElementById('canvas') })

```
## all modes
```
amd、cjs、es、iife、umd
```

---
_Source: https://npm.io/package/point-plot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
