Dyl_Pickle88
Dyl_Pickle88
CC#
Created by Dyl_Pickle88 on 12/11/2023 in #help
Using LiveCharts 2 in Avalonia
I'm new to Avalonia and am trying to use livecharts. Been using "https://livecharts.dev/docs/Avalonia/2.0.0-rc2/Overview.Installation" but when I use " <lvc:CartesianChart Series="{Binding Series}"> </lvc:CartesianChart> " it says "Cannot parse a compiled binding without an explicit x:DataType directive to give a starting data type for bindings". If there is an easier way to make graphs in avalonia lmk.
8 replies
CC#
Created by Dyl_Pickle88 on 9/23/2023 in #help
❔ How to set progress bar in taskbar in winform?
Ive tried using TaskbarManager but VS says TaskbarManager does not contain a definition for 'instance', which is how the examples Ive found say to get the active window's taskbar instance.
11 replies
CC#
Created by Dyl_Pickle88 on 9/22/2023 in #help
✅ Whats the proper way to access Windows.Gaming.Input in a non-UWP C# project?
I'd like to make a winform that uses a racing wheel for kicks and giggles, but the only way I can find to interface with one with C# is via Windows.Gaming.Input, which is a UWP library (or whatever libs are called for C#). Is there some other library I can't find that would be better for it? Thanks
6 replies
CC#
Created by Dyl_Pickle88 on 4/21/2023 in #help
❔ Making an async function or event system to get steps on an encoder.
I am using an encoder with the GPIO controller on my pi in C#, the main issue is I dont understand how to read the leading edges without making a constantly running function. I have ha 2 ideas of how to read the encoder in and its either an event to increase a counter, or an async function that is constantly running to look for the leading edge. the issue is im not particularly versed in either of those things. we are using this library: https://learn.microsoft.com/en-us/dotnet/api/system.device.gpio.gpiocontroller?source=recommendations&view=iot-dotnet-latest it has a async function for reading but I dont know how to use that to count without calling it every tick or something
640 replies