{"id":13702231,"url":"https://github.com/monstasat/chartjs-ocaml","last_synced_at":"2025-05-05T04:30:55.991Z","repository":{"id":51351881,"uuid":"158021386","full_name":"monstasat/chartjs-ocaml","owner":"monstasat","description":"Chart.js bindings for OCaml","archived":false,"fork":false,"pushed_at":"2021-05-13T21:04:09.000Z","size":618,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-13T09:40:46.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monstasat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-17T20:19:34.000Z","updated_at":"2022-08-20T21:25:24.000Z","dependencies_parsed_at":"2022-08-26T10:00:15.596Z","dependency_job_id":null,"html_url":"https://github.com/monstasat/chartjs-ocaml","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monstasat%2Fchartjs-ocaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monstasat%2Fchartjs-ocaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monstasat%2Fchartjs-ocaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monstasat%2Fchartjs-ocaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monstasat","download_url":"https://codeload.github.com/monstasat/chartjs-ocaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252439466,"owners_count":21748009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T21:00:32.575Z","updated_at":"2025-05-05T04:30:55.470Z","avatar_url":"https://github.com/monstasat.png","language":"OCaml","funding_links":[],"categories":["Integrations"],"sub_categories":["Others"],"readme":"# chartjs-ocaml: OCaml bindings for Chart.js\n\nThis library provides OCaml bindings for the [Chart.js][chartjs] charting library \nand some popular plugins.\n\n[chartjs]: https://github.com/chartjs/Chart.js\n\nFollowing chart types are currently supported:\n* Line\n* Bar\n* Horizontal bar\n* Pie\n* Doughnut\n\n## Installation\n\n### Opam\nInstall the library and its dependencies via [OPAM][opam]\n\n[opam]: http://opam.ocaml.org\n\n```bash\nopam install chartjs\n```\n\n### Manual\n```bash\ndune build @install\ndune install\n```\n\n## Usage\n\nPlease notice that `chartjs-ocaml` just provides bindings for the Chart.js\nlibrary and its most popular plugins, so be sure to include corresponding \njavascript files to your web application, like:\n\n``` html\n\u003cscript type=\"text/javascript\" src=\"https://cdn.jsdelivr.net/npm/chart.js@2.8.0\"\u003e\u003c/script\u003e\n```\n\nBasic usage examples can be found in the [examples][examples] directory.\n\n[examples]: https://github.com/monstasat/chartjs-ocaml/tree/master/examples\n\n## Contents of the distribution\n\n| Filename             | Description                                  |\n|----------------------|----------------------------------------------|\n| README               | this file                                    |\n| LICENSE              | license and copyright notice                 |\n| lib/                 | bindings for the Chart.js core library       |\n| plugins/streaming    | bindings for the chartjs-plugin-streaming    |\n| plugins/datalabels   | bindings for the chartjs-plugin-datalabels   |\n| plugins/annotation   | bindings for the chartjs-plugin-annotation   |\n| plugins/colorschemes | bindings for the chartjs-plugin-colorschemes |\n| examples/            | basic library usage examples                 |\n|                      |                                              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonstasat%2Fchartjs-ocaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonstasat%2Fchartjs-ocaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonstasat%2Fchartjs-ocaml/lists"}