MCPcopy Create free account
hub / github.com/MrNothing/AI-Blocks / constructor

Method constructor

Sources/src/Model/UI/Modules/Chart.js:5–16  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4export default class ChartModule extends React.Component {
5 constructor(props) {
6 super(props);
7
8 this.state = {};
9
10 window.service.charts[this.props.id] = this;
11
12 this.state.data = {
13 labels: [],
14 datasets: []
15 };
16 }
17
18 drawLines()
19 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected