Removing Crust Borders in Pie Chart Android


#1

HI,

I want to remove the circular border around pie chart ,but the crust lines between flavors should be there.

I tryied style.setCrustShown(false);

But it remove all the lines including seperation border between flavors

My Code:

PieSeriesStyle style = series.getStyle();

style.setFlavorColors(new int[] {
Color.argb(255, 124,252,0), // Lawn Green

Color.argb(255, 0,128,0),

Color.argb(255, 50, 205,50),// Lime Green

Color.argb(255,60,179,113)// pink

	});
style.setCrustColors(new int[] { Color.argb(255, 255, 255, 255) // white
				
		});
		
style.setCrustThickness(2f);
		
style.setChartEffect(RadialEffect.FLAT);

#2

Hi Ankit,

Unfortunately this isn’t something we support in either the iOS or android versions. It’s both radial and circumferential lines or neither, I’m afraid. Sorry we can’t be more help to you on this one.

Best regards,

Robin Sillem