gl-spikes2d

WebJar for gl-spikes2d

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

gl-spikes2d
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

gl-spikes2d
WebJar for gl-spikes2d
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/gl-vis/gl-spikes2d

Скачать gl-spikes2d

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/gl-spikes2d/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>gl-spikes2d</artifactId>
    <version>1.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/gl-spikes2d/
implementation 'org.webjars.npm:gl-spikes2d:1.0.2'
// https://jarcasting.com/artifacts/org.webjars.npm/gl-spikes2d/
implementation ("org.webjars.npm:gl-spikes2d:1.0.2")
'org.webjars.npm:gl-spikes2d:jar:1.0.2'
<dependency org="org.webjars.npm" name="gl-spikes2d" rev="1.0.2">
  <artifact name="gl-spikes2d" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='gl-spikes2d', version='1.0.2')
)
libraryDependencies += "org.webjars.npm" % "gl-spikes2d" % "1.0.2"
[org.webjars.npm/gl-spikes2d "1.0.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

gl-spikes2d

Draws axis spikes for 2D plots

Example

Check back later

Install

npm i gl-spikes2d

API

Constructor

var spikes = require('gl-spikes2d')(plot, options)

Creates a new spike overlay for the given 2d plot

  • plot is a gl-plot2d instance
  • options is an object with a set of properties for the spike object

The properties of the options object are as follows:

  • enable Enables rendering of the spikes for each axis
  • width The width of each spike
  • color Color of each spike
  • center Center of spikes

Methods

spikes.update(options)

Updates the spike object in place. Similar behavior to constructor.

spikes.dispose()

Destroys the spikes object

License

(c) 2015 Mikola Lysenko. MIT License

org.webjars.npm

Версии библиотеки

Версия
1.0.2
1.0.1