Skip to content

希望可以完善一下chart控件 #922

New issue

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

Open
smiletigerpp opened this issue Dec 31, 2024 · 1 comment
Open

希望可以完善一下chart控件 #922

smiletigerpp opened this issue Dec 31, 2024 · 1 comment

Comments

@smiletigerpp
Copy link

请问能完善一下chart控件吗,现在的控件只能按照固定的时间周期,比如100ms往buf里面丢数据,然后显示出来,现实的情况更多的是下面的场景,比如医疗器械,化工测试设备都是不定时采集数据,然后在绘制,比如一个电压-硝酸银用量的图标,横坐标是硝酸银用量mL,纵坐标是电动势mV,实验的时候需要采集硝酸银-电压对应的曲线,比如下面的数据
myDataView.oriData[0].AgNo3V = 5.00;
myDataView.oriData[0].AgNo3E = 62;

myDataView.oriData[1].AgNo3V = 15.00;
myDataView.oriData[1].AgNo3E = 85.3;

myDataView.oriData[2].AgNo3V = 20.00;
myDataView.oriData[2].AgNo3E = 107;

myDataView.oriData[3].AgNo3V = 22.00;
myDataView.oriData[3].AgNo3E = 123;

myDataView.oriData[4].AgNo3V = 23.00;
myDataView.oriData[4].AgNo3E = 138;

myDataView.oriData[5].AgNo3V = 23.50;
myDataView.oriData[5].AgNo3E = 146;

myDataView.oriData[6].AgNo3V = 23.80;
myDataView.oriData[6].AgNo3E = 161;

myDataView.oriData[7].AgNo3V = 24.00;
myDataView.oriData[7].AgNo3E = 174;

myDataView.oriData[8].AgNo3V = 24.10;
myDataView.oriData[8].AgNo3E = 183;

myDataView.oriData[9].AgNo3V = 24.20;
myDataView.oriData[9].AgNo3E = 194;

myDataView.oriData[10].AgNo3V = 24.30;
myDataView.oriData[10].AgNo3E = 233;

myDataView.oriData[11].AgNo3V = 24.40;
myDataView.oriData[11].AgNo3E = 316;

myDataView.oriData[12].AgNo3V = 24.50;
myDataView.oriData[12].AgNo3E = 340;

myDataView.oriData[13].AgNo3V = 24.60;
myDataView.oriData[13].AgNo3E = 351;

myDataView.oriData[14].AgNo3V = 24.70;
myDataView.oriData[14].AgNo3E = 358;

myDataView.oriData[15].AgNo3V = 25.00;
myDataView.oriData[15].AgNo3E = 373;

myDataView.oriData[16].AgNo3V = 25.50;
myDataView.oriData[16].AgNo3E = 385;

myDataView.oriData[17].AgNo3V = 26.00;
myDataView.oriData[17].AgNo3E = 396;

现在需要根据用量和电压绘制曲线,目前的chart曲线图就没法用

@sosotan
Copy link
Contributor

sosotan commented Feb 5, 2025

感谢您的建议,这个需求我们会加入开发计划

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants