We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
比如说y轴需要的数据是 const data = [10,40,70,20,50,30] 那我们y轴所需要的区间是 一开始想 1.极差 const range = (70-10) / data.length =10 那y轴上每一个点的波动区间 正负10
2.重组每一项数据 let res = [] for(let i=0; i<data.length; i++){ res.push(data[i]+10) } 3.结果 [20,50,80,30,60,40]
这样一个简单的计算 在y轴上上下都留了空间但是换成写其他数据比如 [15,13,22,45,47] 这些数据在坐标系上就有点错位
不知道还可以如何优化
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: