Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Easy-to-use js library for building graphs using svg.

Notifications You must be signed in to change notification settings

korpusovmax/linechart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

13 Commits

Repository files navigation

LineChart

Easy-to-use js library for building graphs using svg.

Examples

demo1

demo2

How to use

Just add linechart.js from 'src' directory to your project. And add this lines to your .html

<div id="chart1"></div>
<script type="module" src="path/to/linechart.js"></script>

Now in your main.js you can create graph (don't forget to import linechart.js!)

import { LineChart } from 'path/to/linechart.js'
let array = [8, 3, 7, 6, 9, 2];
let linechart_1 = new LineChart("chart1", 400, 200, array);
linechart_1.update();

Also you can explore some examples in 'tests' directory.

About

Easy-to-use js library for building graphs using svg.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /