Open Xaeryan opened 5 months ago
Same issue! I think its to do with line charts. I am getting it cutoff too!
// take just roi for each as {value: roi}
const lineChartData = trades.map(trade => ({
value: trade.roi
}));
<LineChart data={lineChartData}/>;
I'm using the dataSet property and noticing in some cases points/lines are either being cutoff or not drawn. Take the following code:
It results in the following. Note the BLUE line is missing the last point (4 instead of 5):
Now if we just add another point to the ORANGE line, the missing BLUE line/point shows up:
Results in this (correct):