Movatterモバイル変換


[0]ホーム

URL:


packagechartjs-datalabels

  1. Overview
  2. Docs

You can search for identifiers within the package.

in-package search v0.2.0

OCaml bindigns for Chart.js datalabels plugin

Install

Dune Dependency

Authors

Maintainers

Sources

v0.2.2.tar.gz
sha256=370fbff01351b354a7947dfc44fd6bda49306f1b9b8712395bcd3651269af27b
sha512=19aebed340aaf2084a126bc28e0aabad490bb361a7b055b506e7a930576098ec6e48775057c2fbce68a12b86576586df2b982381f5639706725c7a12d4780c50

Description

This library provides OCaml bindings for chartjs-plugin-datalabels.This plugin displays labels on data for any type of charts.

Published:06 Sep 2019

README

chartjs-ocaml: OCaml bindings for Chart.js

This library provides OCaml bindings for theChart.js charting library and some popular plugins.

Following chart types are currently supported:

  • Line

  • Bar

  • Horizontal bar

  • Pie

  • Doughnut

Installation

Opam

Install the library and its dependencies viaOPAM

opam install chartjs

Manual

dune build @installdune install

Usage

Please notice thatchartjs-ocaml just provides bindings for the Chart.js library and its most popular plugins, so be sure to include corresponding javascript files to your web application, like:

<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>

Basic usage examples can be found in theexamples directory.

Contents of the distribution

FilenameDescription
READMEthis file
LICENSElicense and copyright notice
lib/bindings for the Chart.js core library
plugins/streamingbindings for the chartjs-plugin-streaming
plugins/datalabelsbindings for the chartjs-plugin-datalabels
plugins/annotationbindings for the chartjs-plugin-annotation
plugins/colorschemesbindings for the chartjs-plugin-colorschemes
examples/basic library usage examples

Dependencies (5)

  1. chartjs= version
  2. js_of_ocaml-ppx
  3. js_of_ocaml
  4. dune>= "1.11"
  5. ocaml>= "4.08.0"

Dev Dependencies

None

Used by

None

Conflicts

None


[8]ページ先頭

©2009-2025 Movatter.jp