# vis-timeline **Repository Path**: cqdx/vis-timeline ## Basic Information - **Project Name**: vis-timeline - **Description**: Create a fully customizable, interactive timelines and 2d-graphs with items and ranges. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-01-07 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vis-timeline ![example chart](docs/img/timeline.png) The Timeline/Graph2D is an interactive visualization chart to visualize data in time. The data items can take place on a single date, or have a start and end date (a range). You can freely move and zoom in the timeline by dragging and scrolling in the Timeline. Items can be created, edited, and deleted in the timeline. The time scale on the axis is adjusted automatically, and supports scales ranging from milliseconds to years. ## Badges [![GitHub contributors](https://img.shields.io/github/contributors/visjs/vis-timeline.svg)](https://github.com/visjs/vis-timeline/graphs/contributors) [![GitHub stars](https://img.shields.io/github/stars/visjs/vis-timeline.svg)](https://github.com/almende/vis/stargazers) [![Backers on Open Collective](https://opencollective.com/visjs/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/visjs/sponsors/badge.svg)](#sponsors) ## Install Install via npm: $ npm install vis-timeline ## Example A basic example on loading a Timeline is shown below. More examples can be found in the [examples directory](https://github.com/visjs/vis-timeline/tree/master/examples/) of the project. ```html Network
``` ## Build To build the library from source, clone the project from github $ git clone git://github.com/visjs/vis-timeline.git The source code uses the module style of node (require and module.exports) to organize dependencies. To install all dependencies and build the library, run `npm install` in the root of the project. $ cd vis-timeline $ npm install Then, the project can be build running: $ npm run build ### Excluding external dependencies External dependencies such as moment, hammerjs can be excluded in the build by running: $ npm run build -- -e [comma separated module names] Example: $ npm run build -- -e moment,hammerjs ## Test To test the library, install the project dependencies once: $ npm install Then run the tests: $ npm run test ## Contribute Contributions to the vis.js library are very welcome! We can't do this alone! ### Backers Thank you to all our backers! 🙏 ### Sponsors Support this project by becoming a sponsor. Your logo will show up here with a link to your website. ## License Copyright (c) 2014-2017 Almende B.V. and contributors Copyright (c) 2017-2019 vis.js contributors This work is dual-licensed under [Apache-2.0](./LICENSE.Apache-2.0.txt) and [MIT](./LICENSE.MIT.txt). You can choose between one of them if you use this work. `SPDX-License-Identifier: Apache-2.0 OR MIT`