MUI X
This page groups demonstration using line charts.
<LineChart width={500} height={300} series={[ { data: pData, label: 'pv' }, { data: uData, label: 'uv' }, ]} xAxis={[{ scaleType: 'point', data: xLabels }]} />
<LineChart width={500} height={300} series={[ { data: pData, label: 'pv', yAxisKey: 'leftAxisId' }, { data: uData, label: 'uv', yAxisKey: 'rightAxisId' }, ]} xAxis={[{ scaleType: 'point', data: xLabels }]} yAxis={[{ id: 'leftAxisId' }, { id: 'rightAxisId' }]} rightAxis="rightAxisId" />
Contents