Good night, i don't know in wich part you can see (or something related to) how to graph a Data Table of Sql, but in this case the data table is generated in real time. I need to use mappers.xy, the part of constant change or something like that?
(I already try to do it, the table generated in a using method, but when i tried to graph it, saving the data in a list, it doesn't work) (I reaally feel lost in this)
Have your tried it like this?
may that give you a hint. I use a Datatable to and filling my chart by converting the values per column into ChartValues
To update the chart you need to re-apply the Datacontext to the Datatable
@GiganteX, I was facing the same issue. Here you can find a number of livecharts examples. https://github.com/Live-Charts/Live-Charts/tree/6723ec02f05ce8aeee0a1891c597cf04dcb0bc34/Examples/Wpf/CartesianChart/UIElements
Let me know if you are still unable to do it
Hi, I am new to live charts, new to WPF too. I am trying to show a graph that has inspections by date.
Left Axis must have the dates the inspection are on and bottom must have the inspection number on it ... 1,2,3,4,5 it never goes past 10.
I have SQL table that has Inspection Number field and date field, I want to get that and show it on my chart but cant seem to find any tutorial that teaches me how to use Select * form elements where id='1' and return the 5 or 10 inspection dates and show it on my graph as Planned inspection vs Actual Inspections on line chart.
Can anyone please point me to a good tutorial that is easy to understand please. Thank you