chartjs-util-elevation
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

chartjs-util-elevation

npm version

Map and Elevation Graph Library. using Chart.js and turf.js.

usage

shell

$ npm install chartjs-util-elevation

template

<canvas id="elevation" style="width: 100%; height: 200px;"></canvas>

tsfile

import chartjs_utils_elevation from 'chartjs-util-elevation'
 
 
// lon,lat,alt
const dom = document.querySelector("#elevation")
const cooard = = [[135.19513,34.69895,23.1],[135.19558,34.69914,22.8],[135.19618,34.69939,23.4]...]
 
const chart = chartjs_utils_elevation(dom, cooard, {})
 

Readme

Keywords

Package Sidebar

Install

npm i chartjs-util-elevation

Weekly Downloads

4

Version

0.0.2

License

MIT

Unpacked Size

5.38 kB

Total Files

5

Last publish

Collaborators

  • ctyo