Closed amarg3891 closed 1 year ago
I wasn't able to reproduce the problem from the code above. Is it possible that you have some style in a parent container that is restricting the chart height? Does the problem appear for chart heights above or below some value?
Yes It works as mentioned in code but actually I'm getting problem that why xAxis is not visible. ` // SCICHART
Here's the some code blocks :- const drawExample = async ( setInfoEcg: React.Dispatch<React.SetStateAction>,
) => {
SciChartSurface.setRuntimeLicenseKey(Secret_key);
console.log("dataSeries1",dataSeries1) sciChartSurface.renderableSeries.add( new FastLineRenderableSeries(wasmContext, { strokeThickness: STROKE_THICKNESS, stroke: COLOR_GREEN, dataSeries: dataSeries1 }) );
// console.log(i,"xArr[i]",ecgHeartRateArr[i])
};
// STYLES const useStyles = makeStyles(theme => ({}));
let currentPoint = 0; let scs: SciChartSurface; let autoStartTimerId: NodeJS.Timeout;
// REACT COMPONENT export default function EcgMonitorDemo() { const [infoEcg, setInfoEcg] = React.useState(0);
const [controls, setControls] = React.useState({ handleStart: () => {}, handleStop: () => {} });
} Actually i want to create something like that `
Originally posted by @amarg3891 in https://github.com/ABTSoftware/SciChart.JS.Examples/issues/135#issuecomment-1011950092