Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <LineChart width={500} height={300} data={data_list} margin={{top: 5, right: 30, left: 20, bottom: 5}}>
  2. <CartesianGrid strokeDasharray="3 3" />
  3. <XAxis dataKey="name" allowDataOverflow={true} tickFormatter={formatXAxis}/>
  4. <YAxis domain={["auto", "auto"]} scale="linear" padding={{ top: 10, bottom: 10 }}/>
  5. <Tooltip/>
  6. <Legend />
  7. <Line type="monotone" dataKey="tubingPressure" strokeOpacity=".5" stroke="#8884d8" activeDot={{ r: 8 }} hide={false} dot={false}/>
  8. </LineChart>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement