Microcharts icon indicating copy to clipboard operation
Microcharts copied to clipboard

Overlapping Label Of DonutChart??

Open shirish8 opened this issue 6 years ago • 7 comments

Value Labels are Overlapped in donut chart...is there any method to properly arrange the labels without getting overlapped???

shirish8 avatar Sep 25 '18 06:09 shirish8

@shirish8 Can you provide a screenshot and some sample data to reproduce this issue? Also any information you have on the platform (iOS, Android, os version, Xamarin version, xamarin.forms or xamarin native)

Nixon-Joseph avatar Nov 15 '18 19:11 Nixon-Joseph

@Nixon-Joseph It's been a while since this issue was created, but allow me to continue:

Screenshot: (UWP) image

Sample code: The chart is 600 x 600.

List<ChartEntry> entries = new List<ChartEntry>()
{
	new ChartEntry(1) { Label = "January", ValueLabel = "1", Color = SKColors.DarkViolet },
	new ChartEntry(2) { Label = "February", ValueLabel = "2", Color = SKColors.Indigo },
	new ChartEntry(3) { Label = "March", ValueLabel = "3", Color = SKColors.Blue },
};
Chart = new DonutChart() { Entries = entries };

Info:

  • Platform: UWP, Android. (Could not test iOS.)
  • Microcharts / Microcharts.Forms 0.9.5.7
  • Xamarin Form 4.8.0.1269

Knots23 avatar Aug 11 '20 10:08 Knots23

I can confirm this is happening, I just haven't had time to investigate it. I will try to take a look tonight.

eman1986 avatar Aug 11 '20 13:08 eman1986

Im also facing this issue in android. Has this been fixed? Please let us know.

Deba22 avatar Sep 14 '20 20:09 Deba22

No it has not, it's still under investigation

eman1986 avatar Sep 14 '20 20:09 eman1986

I do appreciate community help as I'm mostly running this on my own so if someone wish to make a PR, I'll for sure take a peak :)

eman1986 avatar Sep 15 '20 03:09 eman1986

I had checked this with Android 10 - forms 4.8 + micro latest - No repro - Please update the packages if you are facing this issue and try.

liveinvarun avatar Dec 01 '20 15:12 liveinvarun