0.0.23 • Published 6 months ago
@ea-lab/reactive-json-chartjs v0.0.23
ChartJS for Reactive-JSON
This is an extension lib for Reactive-JSON that enables ChartJS support.
Installation
Install this library in your main application.
npm install @ea-lab/reactive-json-chartjsThen where <ReactiveJsonRoot> is located in your React app, do the following:
import {ReactiveJsonRoot} from "@ea-lab/reactive-json";
import {mergeComponentCollections} from "@ea-lab/reactive-json";
import {chartjsComponents} from "@ea-lab/reactive-json-chartjs";
export const YourApp = ({reactiveJsonProps}) => {
const additionalProps = {};
// mergeComponentCollections will prepare the "plugins" property
// of ReactiveJsonRoot.
additionalProps.plugins = mergeComponentCollections([
chartjsComponents,
/* Insert here any other component collection plugins. */
]);
const finalProps = {...reactiveJsonProps, ...additionalProps};
return <ReactiveJsonRoot {...finalProps}/>
}This library components will then be available for use in the build JSON/YAML.
0.0.23
6 months ago
0.0.22
6 months ago
0.0.21
6 months ago
0.0.20
6 months ago
0.0.19
6 months ago
0.0.18
7 months ago
0.0.17
7 months ago
0.0.16
7 months ago
0.0.15
7 months ago
0.0.14
7 months ago
0.0.13
7 months ago
0.0.12
7 months ago
0.0.11
7 months ago
0.0.10
7 months ago
0.0.9
7 months ago
0.0.8
7 months ago
0.0.7
7 months ago
0.0.6
7 months ago
0.0.5
7 months ago
0.0.4
7 months ago
0.0.3
7 months ago
0.0.2
7 months ago
0.0.1
7 months ago
0.0.0
7 months ago