Custom gauge control ?

tafftaff USMember ✭✭

I’m just about to embark on my first Xamarin forms project and know from the offset that I’ll need to create a couple of custom controls at least. Before I delve too deeply, I just wanted to make sure what I’m hoping to do is possible.
I want to create a control that represents a gauge, much like my garmin watch does with its heart rate monitor. Think along the lines of:

https://services.garmin.com/appsLibraryBusinessServices_v0/rest/apps/53505cae-a7d8-4fcb-97fa-4ad28a244d90/screenshots/3df4c5e6-6159-4ee8-a4bb-61a7b43a3d86

Is it possible to do this with a custom control in Xamarin forms? I’ll need to set a min value, max and current value, so its not a million miles away from a progress bar, I’m just manipulating the rendering of the value.

I’m just reading Charles Petzolds excellent free Xamaring Forms eBook but in the meantime can anyone point me in the right direction on where to start on this sort of thing just to do a bit of preliminary reading?

Thanks

Answers

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    Good luck. Share if you find a solution. thanks

  • NMackayNMackay GBInsider, University mod
    edited April 2017

    @taff

    I don't know of any out of the box or free gauge controls.

    I'd suggest syncfusion controls, there's a free community licence edition, unless you work for a company with a large team and a turnover over a certain amount you can use the controls for free, good way to get that dashboard concept working for no cost.

    https://www.syncfusion.com/products/xamarin

    If your in a big company I'd check out Telerik or Infragistics controls as well.

    http://www.telerik.com/xamarin-ui
    https://www.infragistics.com/products/xamarin

  • tafftaff USMember ✭✭

    Thanks @NMackay, useful to read :)

    TBH though, I'm more interested in creating one myself if its possible as I'll need a few variations on it and there will be very specific requirements

  • NMackayNMackay GBInsider, University mod

    If you do manage that please do put it up on github or maybe add it to the controls suite if your allowed to :smile:

Sign In or Register to comment.