MCPcopy Create free account
hub / github.com/curiores/SerialAnalyzer / constructor

Method constructor

src/Components/Spectrum.js:191–197  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

189export default class Spectrum extends React.Component{
190
191 constructor(props){
192 super(props)
193 // This chart reference is needed to update the charts
194 this.divRef = React.createRef();
195 this.chartRef = React.createRef();
196 this.labelRef = React.createRef();
197 };
198
199 updateChart(){
200 if(this.chartRef !== null ){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected