metrics-graphics

WebJar for metrics-graphics

Лицензия

Лицензия

Категории

Категории

Metrics Тестирование приложения и мониторинг Monitoring
Группа

Группа

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

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

metrics-graphics
Последняя версия

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

2.13.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

metrics-graphics
WebJar for metrics-graphics
Ссылка на сайт

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

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

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

https://github.com/mozilla/metrics-graphics

Скачать metrics-graphics

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.bower : d3 jar [4,)

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

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

BundlePhobia CodeClimate Netlify Status

MetricsGraphics is a library built for visualizing and laying out time-series data. At around 15kB (gzipped), it provides a simple way to produce common types of graphics in a principled and consistent way. The library currently supports line charts, scatterplots and histograms, as well as features like rug plots.

Example

All you need to do is add an entry node to your document:

<div id="chart"></div>

Then, use the id to mount the chart:

import LineChart from 'metrics-graphics'

new LineChart({
  data, // some array of data objects
  width: 600,
  height: 200,
  target: '#chart',
  area: true,
  xAccessor: 'date',
  yAccessor: 'value'
})

That's it!

Sample Screenshot

The raw data for this example can be found here

Documentation

If you want to use MetricsGraphics, you can find the public API here.

If you want to extend MetricsGraphics, you can read up on the components and utilities.

Development Setup

This project uses Lerna. Installing it globally helps a lot (npm i -g lerna).

# clone and setup
git clone https://github.com/metricsgraphics/metrics-graphics
cd metrics-graphics
lerna bootstrap

Run both the development setup of the library and the development setup of the examples

# inside packages/lib
npm run dev

# inside packages/examples
npm run dev
org.webjars.bower

Mozilla

This technology could fall into the right hands.

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

Версия
2.13.0
2.11.0
2.10.1
2.9.0
2.8.0
2.7.0
2.6.0
2.4.0