0

How can I get a graph like this in Xamarin? Is there any library for graphs or how is this done? I have this but I want to style it like in the picture.

<ProgressBar ProgressColor="#00d2ff" HeightRequest="20" Progress="0.5"/>

enter image description here

Shayan Shafiq
  • 1,447
  • 5
  • 18
  • 25
Jacob Bat
  • 13
  • 3
  • 1
    that appears to be a progress bar, not a graph. You can easily build that from standard XF elements. If you need complex charts, https://www.google.com/search?q=xamarin+charts&oq=xamarin+charts – Jason Jan 24 '21 at 16:02
  • 1
    Welcome to SO. If you are looking for help building you own progress bar or chart, please show us what you've tried so far. Asking for a third party library to solve your problem is off-topic on SO, see [help/on-topic]. – Xerillio Jan 24 '21 at 16:07
  • Thanks i have meant progress bar but i want to style it like in picture and i dont know how i have this code `` – Jacob Bat Jan 24 '21 at 16:58
  • the standard progress bar is not going to look like what you want. As I said earlier, you can easily build this by layering two BoxViews on top of each other with a Label on top of both – Jason Jan 24 '21 at 17:01
  • Ah thanks i will try that and send code if it going to work :) – Jacob Bat Jan 24 '21 at 17:06
  • It is not looking good with my progress bar i will use default progress bar, thanks for help – Jacob Bat Jan 24 '21 at 18:59
  • @JacobBat Hi, if you mean want to customer a progressbar, you could have a look at this discussion: https://stackoverflow.com/questions/48703637/customizing-a-progress-bar-appearance-in-xamarin-forms/48742799 – Junior Jiang Jan 25 '21 at 08:18
  • Thanks, but i have used default progress bar – Jacob Bat Jan 26 '21 at 12:14
  • @JacobBat Then it seems you will need to custom `ProgressBarRenderer` to achieve that with navtive method of each platform. – Junior Jiang Jan 27 '21 at 08:25

0 Answers0