Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@cocreate/charts

CoCreate-app101MIT1.13.3

A simple charts component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.

charts, cocreate, low-code-framework, no-code-framework, cocreatejs, cocreatejs-component, cocreate-framework, no-code, low-code, collaborative-framework, realtime, realtime-framework, collaboration, shared-editing, html5-framework, javascript-framework

readme

CoCreate-charts

A simple charts component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API. Take it for a spin in our playground!

minified gzip brotli GitHub latest release License Hiring

CoCreate-charts

Docs & Demo

For a complete guide and working demo refer to the doumentation

CDN

<script src="https://cdn.cocreate.app/charts/latest/CoCreate-charts.min.js"></script>
<script src="https://cdn.cocreate.app/charts/latest/CoCreate-charts.min.css"></script>

NPM

$ npm i @cocreate/charts

yarn

$ yarn install @cocreate/charts

Table of Contents

Announcements

All updates to this library are documented in our CHANGELOG and releases. You may also subscribe to email for releases and breaking changes.

Roadmap

If you are interested in the future direction of this project, please take a look at our open issues and pull requests. We would love to hear your feedback.

About

CoCreate-charts is guided and supported by the CoCreate Developer Experience Team.

Please Email the Developer Experience Team here in case of any queries.

CoCreate-charts is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.

How to Contribute

We encourage contribution to our libraries (you might even score some nifty swag), please see our CONTRIBUTING guide for details.

We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create issues and pull requests or merely upvote or comment on existing issues or pull requests.

We appreciate your continued support, thank you!

License

The MIT License (MIT)

changelog

1.13.3 (2025-05-01)

Bug Fixes

1.13.2 (2025-04-30)

Bug Fixes

  • added css-loader (35c9366)
  • update query attributes (62099ec)
  • updated cocreate modules versions (8c845e2)
  • webpack.config and devdependencies (5bcb263)

1.13.1 (2025-01-18)

Bug Fixes

1.13.0 (2024-11-04)

Bug Fixes

  • pretier.config.js and file formating (d0d5622)

Features

  • add prettier.config.js and format files (87219b1)
  • add prettier.config.js and format files (458b18a)

1.12.3 (2024-06-12)

Bug Fixes

1.12.2 (2024-04-29)

Bug Fixes

  • bump cocreate dependencies (ed8e03d)

1.12.1 (2024-02-05)

Bug Fixes

1.12.0 (2023-11-25)

Features

  • upgrade dependencies for latest features and fixes (b4754c5)

1.11.0 (2023-11-25)

Bug Fixes

  • update nav, edit button and css path (684008a)

Features

  • upgrade dependencies for latest features and fixes (71df3e4)

1.10.0 (2023-11-19)

Features

  • update dependecies for th latest features and bug fixes (4350f8b)

1.9.7 (2023-11-12)

Bug Fixes

  • bump dependencies for latest features (1989222)

1.9.6 (2023-11-09)

Bug Fixes

1.9.5 (2023-11-03)

Bug Fixes

  • favicon.ico path (10d3518)
  • update dependencies to the lates versions (3be5939)
  • update method to use object.update etc (3f4ac21)

1.9.4 (2023-10-25)

Bug Fixes

1.9.3 (2023-10-17)

Bug Fixes

1.9.2 (2023-09-18)

Bug Fixes

  • Add path and pathname (8cfe0c8)
  • Update CoCreate depndencies to latest versions (5dcf28d)

1.9.1 (2023-08-21)

Bug Fixes

1.9.0 (2023-08-21)

Features

  • Update cocreate dependencies for the latest features and bug fixes (b06a508)

1.8.1 (2023-08-21)

Bug Fixes

1.8.0 (2023-08-17)

Features

  • bump cocreate dependencies for the latest updates and features (a65754e)

1.7.0 (2023-08-16)

Bug Fixes

  • crud attributes renamed (f4fc78f)
  • Remove unused "@cocreate/crud-client" dependency and update other dependencies. (fa2ae02)
  • replace -target -selector (3f2286d)
  • webpack.config and package.json make use of mode=production instead of process.env (553e840)

Features

  • name attribute and variable renamed to key (fda689f)
  • Refactor fetching and setting data in CoCreateChartManager (8e2f5ac)
  • update template_id to render-selector attribute. update filter attributes to filter selector-attributes (726a7bf)

1.6.27 (2023-06-14)

Bug Fixes

1.6.26 (2023-06-11)

Bug Fixes

1.6.25 (2023-06-11)

Bug Fixes

1.6.24 (2023-06-11)

Bug Fixes

1.6.23 (2023-06-11)

Bug Fixes

1.6.22 (2023-06-11)

Bug Fixes

1.6.21 (2023-06-11)

Bug Fixes

1.6.20 (2023-06-11)

Bug Fixes

1.6.19 (2023-06-11)

Bug Fixes

1.6.18 (2023-06-11)

Bug Fixes

  • @cocreate/cli moved to dependencies (cc227b2)

1.6.17 (2023-06-11)

Bug Fixes

1.6.16 (2023-06-11)

Bug Fixes

  • renamed hosts to host. the value can be a string or an array of strings (40ec581)

1.6.15 (2023-06-10)

Bug Fixes

1.6.14 (2023-06-10)

Bug Fixes

1.6.13 (2023-06-04)

Bug Fixes

  • Refactor CoCreate.config.js to remove hard-coded credentials (64fa72e)

1.6.12 (2023-06-04)

Bug Fixes

  • replaced secert GITHUB_TOKEN with GITHUB (926823c)
  • Update dependencies versions for @cocreate libraries (f803904)

1.6.11 (2023-06-04)

Bug Fixes

  • semantic-release: worklow error solved by running node version 14 (5e3089b)

1.6.10 (2023-06-02)

Bug Fixes

1.6.9 (2023-05-21)

Bug Fixes

1.6.8 (2023-05-19)

Bug Fixes

  • update packages to latest version. This commit updates various packages in the dependencies section of the package.json file to their latest published versions, thereby fixing multiple bugs and improving overall performance. (729e47b)

1.6.7 (2023-05-10)

Bug Fixes

1.6.6 (2023-05-06)

Bug Fixes

1.6.5 (2023-05-01)

Bug Fixes

  • update manifest.json to manifest.webmanifest (478ec70)

1.6.4 (2023-05-01)

Bug Fixes

  • replace fontawesome with svg (076761c)

1.6.3 (2023-04-30)

Bug Fixes

  • fullscreen target updated to fullscreen fullscreen-target (361a010)
  • package-lock.json and pnpm-lock.yaml added to .gitignore (006685c)
  • removed toogle fullscreen icons. now using css content (91694d6)

1.6.2 (2023-04-24)

Bug Fixes

  • updated worrkflows to v3 and node version 16 (86ff561)
  • workflow node version updated 16 (5b902ea)

1.6.1 (2023-04-24)

Bug Fixes

1.6.0 (2023-04-24)

Features

1.5.6 (2023-04-11)

Bug Fixes

1.5.5 (2023-04-11)

Bug Fixes

1.5.4 (2023-04-11)

Bug Fixes

  • renamed domains to hosts (5974f2a)

1.5.3 (2023-03-30)

Bug Fixes

1.5.2 (2023-03-16)

Bug Fixes

1.5.1 (2023-03-16)

Bug Fixes

1.5.0 (2023-03-16)

Features

  • replaced get-value and set-value with a super charged version of CoCreate-events (3774c65)

1.4.11 (2023-02-01)

Bug Fixes

1.4.10 (2023-01-31)

Bug Fixes

1.4.9 (2023-01-30)

Bug Fixes

1.4.8 (2023-01-29)

Bug Fixes

1.4.7 (2023-01-29)

Bug Fixes

1.4.6 (2023-01-27)

Bug Fixes

1.4.5 (2023-01-13)

Bug Fixes

1.4.4 (2023-01-10)

Bug Fixes

1.4.3 (2023-01-09)

Bug Fixes

1.4.2 (2023-01-06)

Bug Fixes

1.4.1 (2023-01-05)

Bug Fixes

1.4.0 (2023-01-02)

Features

  • class="template" template_id="id" replaced with template="id" (03e4b4a)

1.3.50 (2023-01-01)

Bug Fixes

1.3.49 (2022-12-31)

Bug Fixes

1.3.48 (2022-12-30)

Bug Fixes

  • update config sources to use template braces with entry on src (dfd0e81)

1.3.47 (2022-12-29)

Bug Fixes

1.3.46 (2022-12-27)

Bug Fixes

1.3.45 (2022-12-25)

Bug Fixes

1.3.44 (2022-12-23)

Bug Fixes

1.3.43 (2022-12-22)

Bug Fixes

1.3.42 (2022-12-22)

Bug Fixes

  • update demos and bump dependencies (ab9ce9b)

1.3.41 (2022-12-21)

Bug Fixes

1.3.40 (2022-12-20)

Bug Fixes

1.3.39 (2022-12-15)

Bug Fixes

  • add missing dev dependency style-loader (3cd9f90)

1.3.38 (2022-12-13)

Bug Fixes

  • removed un used devDependencies (1a8df6e)

1.3.37 (2022-12-13)

Bug Fixes

1.3.36 (2022-12-12)

Bug Fixes

1.3.35 (2022-12-11)

Bug Fixes

1.3.34 (2022-12-09)

Bug Fixes

1.3.33 (2022-12-08)

Bug Fixes

1.3.32 (2022-12-07)

Bug Fixes

1.3.31 (2022-12-04)

Bug Fixes

1.3.30 (2022-12-02)

Bug Fixes

1.3.29 (2022-12-02)

Bug Fixes

1.3.28 (2022-11-28)

Bug Fixes

1.3.27 (2022-11-28)

Bug Fixes

1.3.26 (2022-11-27)

Bug Fixes

1.3.25 (2022-11-26)

Bug Fixes

1.3.24 (2022-11-25)

Bug Fixes

  • bump dependencies (cd8e2ab)
  • CoCreate.crud.default removed bug causing default object (7fcf0c7)

1.3.23 (2022-11-24)

Bug Fixes

1.3.22 (2022-11-23)

Bug Fixes

1.3.21 (2022-11-22)

Bug Fixes

  • apply src: {{source}} to CoCreate.config (97a55a0)
  • workflow docs (b28d07d)

1.3.20 (2022-11-21)

Bug Fixes

1.3.19 (2022-11-21)

Bug Fixes

  • replaced document_id with document._id (d0afbe9)

1.3.18 (2022-11-21)

Bug Fixes

1.3.17 (2022-11-21)

Bug Fixes

  • bump d@cocreate ependencies (4c9ac58)

1.3.16 (2022-11-21)

Bug Fixes

  • filter-order attributes renamed to filter-sort (a352890)
  • renamed data.data to data.document (ea72035)
  • renamed readDocuments to readDocument (28c39d1)
  • update crud functions to receive an array of objects as the response (3bcc8da)

1.3.15 (2022-10-02)

Bug Fixes

1.3.14 (2022-10-02)

Bug Fixes

  • bump @cocreate/hosting and @cocreate/socket-client (798168a)

1.3.13 (2022-10-01)

Bug Fixes

1.3.12 (2022-09-30)

Bug Fixes

1.3.11 (2022-09-30)

Bug Fixes

1.3.10 (2022-09-30)

Bug Fixes

1.3.9 (2022-09-30)

Bug Fixes

1.3.8 (2022-09-30)

Bug Fixes

1.3.7 (2022-09-29)

Bug Fixes

  • config renameed to CoCreateConfig (219020e)

1.3.6 (2022-09-01)

Bug Fixes

1.3.5 (2022-08-19)

Bug Fixes

  • renamed order-by and order-type to filter-order-name and filter-order-type (411aac6)

1.3.4 (2022-06-18)

Bug Fixes

1.3.3 (2022-06-12)

Bug Fixes

1.3.2 (2022-05-23)

Bug Fixes

1.3.1 (2022-05-19)

Bug Fixes

  • update document_id on link index.css (9b86143)

1.3.0 (2022-05-14)

Features

  • function readDocumentList has been renamed to readDocuments (15bcded)

1.2.68 (2022-05-06)

Bug Fixes

  • update config organization_Id to organization_id (03828b8)

1.2.67 (2022-03-21)

Bug Fixes

  • update class sortable to attribute sortable (686f5a2)

1.2.66 (2022-02-24)

Bug Fixes

  • CoCreate.config replace CoCreate.app with * (7cfcf9f)

1.2.65 (2022-02-16)

Bug Fixes

1.2.64 (2022-02-10)

Bug Fixes

1.2.63 (2022-02-07)

Bug Fixes

  • bump dependency versions (798fd79)

1.2.62 (2022-02-03)

Bug Fixes

  • replaced show and hide class hidden with attribute hidden (b734471)

1.2.61 (2022-02-01)

Bug Fixes

  • update dependency versions (947869b)

1.2.60 (2022-01-16)

Bug Fixes

  • update class overflow:overlay to overflow:auto (f94ccfb)

1.2.59 (2022-01-01)

Bug Fixes

  • get-value attribute value now supports a selector added # to all values currently in get-value attributes (87292b7)

1.2.58 (2022-01-01)

Bug Fixes

  • removed data- from attributes (8d41ce9)

1.2.57 (2021-12-31)

Bug Fixes

  • removed class chart-dataset (e698304)

1.2.56 (2021-12-31)

Bug Fixes

  • added chart=chartjs as a selector. cleaned demo (4319d51)

1.2.55 (2021-12-31)

Bug Fixes

  • update chart attributes (2dfb6ca)

1.2.54 (2021-12-23)

Bug Fixes

  • renamed filter-value_type to filter-value-type (d2a44a3)

1.2.53 (2021-12-15)

Bug Fixes

1.2.52 (2021-12-14)

Bug Fixes

1.2.51 (2021-11-27)

Bug Fixes

1.2.50 (2021-11-27)

Bug Fixes

1.2.49 (2021-11-27)

Bug Fixes

  • update docs api and cocreateJS script (8846887)

1.2.48 (2021-11-26)

Bug Fixes

1.2.47 (2021-11-26)

Bug Fixes

1.2.46 (2021-11-23)

Bug Fixes

1.2.45 (2021-11-20)

Bug Fixes

1.2.44 (2021-11-19)

Bug Fixes

1.2.43 (2021-11-18)

Bug Fixes

1.2.42 (2021-11-16)

Bug Fixes

1.2.41 (2021-11-15)

Bug Fixes

1.2.40 (2021-11-11)

Bug Fixes

1.2.39 (2021-11-06)

Bug Fixes

1.2.38 (2021-11-04)

Bug Fixes

1.2.37 (2021-11-04)

Bug Fixes

1.2.36 (2021-11-01)

Bug Fixes

  • update package dependencies (d92696a)

1.2.35 (2021-10-29)

Bug Fixes

1.2.34 (2021-10-17)

Bug Fixes

1.2.33 (2021-10-16)

Bug Fixes

  • update socket package to fix bug in docs (da8e0ab)

1.2.32 (2021-10-15)

Bug Fixes

1.2.31 (2021-10-15)

Bug Fixes

1.2.30 (2021-10-15)

Bug Fixes

1.2.29 (2021-10-13)

Bug Fixes

1.2.28 (2021-10-13)

Bug Fixes

1.2.27 (2021-10-06)

Bug Fixes

1.2.26 (2021-10-05)

Bug Fixes

  • update dependencies (ca9c983)
  • website_id in CoCreate.config (7ef29f3)

1.2.25 (2021-10-04)

Bug Fixes

1.2.24 (2021-10-04)

Bug Fixes

1.2.23 (2021-10-01)

Bug Fixes

1.2.22 (2021-10-01)

Bug Fixes

1.2.21 (2021-09-30)

Bug Fixes

1.2.20 (2021-09-28)

Bug Fixes

1.2.19 (2021-09-16)

Bug Fixes

1.2.18 (2021-09-14)

Bug Fixes

  • add cocreate.app to domains (c3fd80c)

1.2.17 (2021-09-13)

Bug Fixes

1.2.16 (2021-09-12)

Bug Fixes

  • update sidenav to use resize and toggle (2d3b348)

1.2.15 (2021-09-09)

Bug Fixes

  • update dependency @cocreate/docs (2171602)

1.2.14 (2021-09-09)

Bug Fixes

1.2.13 (2021-09-09)

Bug Fixes

1.2.12 (2021-09-09)

Bug Fixes

  • CoCreate.config directory, path, name and public (8cd9ce2)

1.2.11 (2021-09-08)

Bug Fixes

1.2.10 (2021-09-04)

Bug Fixes

1.2.9 (2021-08-31)

Bug Fixes

1.2.8 (2021-08-27)

Bug Fixes

1.2.7 (2021-08-23)

Bug Fixes

  • update package versions (83fa9b9)

1.2.6 (2021-08-22)

Bug Fixes

  • removed data- from main-content, clone, filter-value_type (a5f0e3b)

1.2.5 (2021-08-22)

Bug Fixes

1.2.4 (2021-08-22)

Bug Fixes

1.2.3 (2021-08-14)

Bug Fixes

  • remove data- from dnd attributes (d25e2ce)

1.2.2 (2021-08-12)

Bug Fixes

  • update data-module_id to document_id (5e02af6)

1.2.1 (2021-08-02)

Bug Fixes

  • remove data- from attributes (b6a61c1)
  • update data-fullscreen to fullscreen (e2ab476)

1.2.0 (2021-07-28)

Bug Fixes

  • remove data- from fetch, pass and filter (9b1ad60)

Features

  • add new is{attribute} system and remove data- from attributtes (b769251)

1.1.15 (2021-07-17)

Bug Fixes

1.1.14 (2021-07-14)

Bug Fixes

1.1.13 (2021-07-13)

Bug Fixes

  • add yarn lockfile to git ignore (1e130f4)
  • remove yarn.lock (8dd1b52)

1.1.12 (2021-07-10)

Bug Fixes

1.1.11 (2021-06-30)

Bug Fixes

1.1.10 (2021-06-30)

Bug Fixes

  • automated and manual workflows (a3c8687)

1.1.9 (2021-06-25)

Bug Fixes

  • latest version numbers applied to all cocreate packages (6a283f9)

1.1.8 (2021-06-24)

Bug Fixes

  • package versioningto 1.0.0 (0d390c6)

1.1.7 (2021-06-24)

Bug Fixes

1.1.6 (2021-06-16)

Bug Fixes

1.1.5 (2021-05-08)

Bug Fixes

  • add css auto parse and save to docs. (433e5be)

1.1.4 (2021-04-27)

Bug Fixes

1.1.3 (2021-04-27)

Bug Fixes

  • Update to readme, demo, added cdn scripts (0657c9f)

1.1.2 (2021-04-23)

Bug Fixes

  • readme and documentation. Removed securitykeys (5eeb201)

1.1.1 (2021-04-23)

Bug Fixes

1.1.0 (2021-04-11)

Features

1.0.1 (2021-03-29)

Bug Fixes

1.0.0 (2021-03-29)

Features