function RespirationRateGraph(props) {
  return (
    <GeneralLineChart
      id="myRespirationRate"
      labels={props.time}
      data={
        [
          {
            label: 'Respiration Rate',
            data: props.magnitude,
          },
        ]
      }
      title="Respiration Rate"
      xLabel="Date/Time"
      yLabel={`Respiration Rate ${props.units}`}
      linkList={props.compId.map((compId) => `/Composition?compId=${compId}`)}
    />
  );
}
/**
 * Build a graph based on the an array of respirationRates and an array of times
 * @param props
 * @returns {*}
 * @constructor
 */
Build a graph based on the an array of respirationRates and an array of times
@param props
@returns {*}
@constructor
Build a graph based on the an array of respirationRates and an array of times @param props @returns { * } @constructor
function RespirationRateGraph(props) {
  return (
    <GeneralLineChart
      id="myRespirationRate"
      labels={props.time}
      data={
        [
          {
            label: 'Respiration Rate',
            data: props.magnitude,
          },
        ]
      }
      title="Respiration Rate"
      xLabel="Date/Time"
      yLabel={`Respiration Rate ${props.units}`}
      linkList={props.compId.map((compId) => `/Composition?compId=${compId}`)}
    />
  );
}
function RespirationRateGraph ( props ) { return ( < GeneralLineChart id = "myRespirationRate" labels = { props . time } data = { [ { label : 'Respiration Rate' , data : props . magnitude , } , ] } title = "Respiration Rate" xLabel = "Date/Time" yLabel = { ` ${ props . units } ` } linkList = { props . compId . map ( ( compId ) => ` ${ compId } ` ) } / > ) ; }
Build a graph based on the an array of respirationRates and an array of times
 @param props
 @returns {*}
 @constructor
Build a graph based on the an array of respirationRates and an array of times @param props @returns { * } @constructor