[BugFix] Fix chart data type and requirement
By watching TimelineChart Example: [Charts Demo](https://pro.ant.design/components/Charts#scaffold-src-components-Charts-demo-mini-area) ```javascript const chartData = []; for (let i = 0; i < 20; i += 1) { chartData.push({ x: (new Date().getTime()) + (1000 * 60 * 30 * i), y1: Math.floor(Math.random() * 100) + 1000, y2: Math.floor(Math.random() * 100) + 10, }); } ``` 1. X-Axis (Timeline): The type should be like `number`. 2. Y-Axis (Value): The y2 may not be required if I just want to draw y1 only.
Showing
Please register or sign in to comment