Olá, ficaria assim: kayChart SerialDataChart1= new kayChart(chart1, 1000); AtualChart1.serieName = "Series1"; kayChart SerialDataChart2= new kayChart(chart1, 1000); AtualChart2.serieName = "Series2"; Espero ter ajudado.....Vlw - Brasil.
Thank you so much. It is really informative and useful in my project. Here you are plotting with only Y axis value. Consider the data contains both X and Y value when we read the serial port. Could you please tell me how to update both X axis and Y axis values in such case ?. I am in real need of this solution. I have seen some other solutions, but I need to buy those dll's. Looking forward to your reply.
Nice job! It'll be helpful to me! But I have some problems with this kaychart, it is not working when put "Key Chart chart name;", any idea what's wrong?
I had the same problem. Turned out to be the language settings on my computer. Arduino uses dot/point as decimal separator, Visual Studio uses my computers settings which uses comma for decimal separator. I used recvData = recvData.Replace('.', ','); to fix this.
because you are trying to invoke the variable serialData kaychart since it gave the same name to RchText, check that at some point it renamed the variable serialData kayChart to serialDataKaychart I was also having that problem but corrected.
In case of serial data,it refresh chart every time it receives data from serial port.In this example its 750 ms.I think you could go as low as 5 to 50 ms.
@@DoctorExplicit how do you know it's 750 ms? and how could you make it go as low as 5 ms? I'm trying to understand the code, but I'm not that good at programming :P
@@trashtropper Chart is updated every time it gets data from arduino's serial port.If You look at arduino's program,u'll notice there a 750ms delay between each send.Just change Delay(750) to other value.
@@DoctorExplicit right, kinda missed that hahaha another question, why did you decide to use a baud rate of 115200? thanks for taking the time to answer my doubts, btw, really appreciate it
I just wanted to say, that this definitely holds up in 2019, thank you so much for the video
really useful for my project, thank you
Great Job
Great 👍🏻
I need to build a real time chart in chart C # using iq feed. How to do it?
Are you using Arduino hardware? Or does the Arduino software with shown code act as a serial emulator?
It work's for me but i want to show to values in the chart or two series temperature and humidity
I already string parsing of the data coming from serial . all i need to do is use that data to plot multiple graphs . please help thanks .
+
+
If I have 2 series are Series1 and Series2. How do I update data to that series?
Olá, ficaria assim:
kayChart SerialDataChart1= new kayChart(chart1, 1000);
AtualChart1.serieName = "Series1";
kayChart SerialDataChart2= new kayChart(chart1, 1000);
AtualChart2.serieName = "Series2";
Espero ter ajudado.....Vlw - Brasil.
Você me salvou irmão, obrigado.
how to draw 2 line in the same table ?
Thank you so much. It is really informative and useful in my project. Here you are plotting with only Y axis value. Consider the data contains both X and Y value when we read the serial port. Could you please tell me how to update both X axis and Y axis values in such case ?. I am in real need of this solution. I have seen some other solutions, but I need to buy those dll's. Looking forward to your reply.
Could you please comment about it ?
Nice job! It'll be helpful to me! But I have some problems with this kaychart, it is not working when put "Key Chart chart name;", any idea what's wrong?
I'm so sorry, but could someone please advise me why my data is running, but the graph is not plotted? I really need it and thank you very much.
I had the same problem. Turned out to be the language settings on my computer. Arduino uses dot/point as decimal separator, Visual Studio uses my computers settings which uses comma for decimal separator. I used recvData = recvData.Replace('.', ','); to fix this.
Superb thank you...! 💐
can you pls share the code
karan bandak I'll upload solution from video when I'll be back home and post a link
DoctorExplicit buddy where are you ? I am waiting
karan bandak Sorry mate...forgot that...will upload it in 3-4h
heres link github.com/drExplicit/kayChartTest
btw...you could just write that few lines of code from vid yourself ;P
when I use this code visual studio said kaychart doesn't have invoke function
because you are trying to invoke the variable serialData kaychart since it gave the same name to RchText, check that at some point it renamed the variable serialData kayChart to serialDataKaychart I was also having that problem but corrected.
do you know at what speed it's sampling the data?
In case of serial data,it refresh chart every time it receives data from serial port.In this example its 750 ms.I think you could go as low as 5 to 50 ms.
@@DoctorExplicit how do you know it's 750 ms? and how could you make it go as low as 5 ms?
I'm trying to understand the code, but I'm not that good at programming :P
@@trashtropper Chart is updated every time it gets data from arduino's serial port.If You look at arduino's program,u'll notice there a 750ms delay between each send.Just change Delay(750) to other value.
@@DoctorExplicit right, kinda missed that hahaha
another question, why did you decide to use a baud rate of 115200?
thanks for taking the time to answer my doubts, btw, really appreciate it
@@trashtropper i just randomly picked it.You can use any rate that suits Your needs
hi any posibility to draw chart from left to right
Check this docs.microsoft.com/en-us/dotnet/api/system.web.ui.datavisualization.charting.chart.righttoleft?view=netframework-4.8
No docs???
Good day sir!! :D my data is running but graph is not working
please email me sir
johncarloguarina@gmail.com
Hi, the chart doesn't work for me either. Do you remember how you solved it then? I really need it. Thank you very much.
It will be more helpful if you share the source code.
my data is running but graph is not working
me too sir.. can please help me?
Did you solve the problem? I am new to this as well. What version of .net framework were you using?
really useful for my project, thank you