PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, April 23, 2022

[FIXED] How do I change the color of the separator between two slices of a pie chart in charts for iOS?

 April 23, 2022     charts, ios, pie-chart, swift     No comments   

Issue

I am using the Charts pod for iOS (github here: https://github.com/danielgindi/Charts ) to make a pie chart.

There is a 1 pixel line in between each slice of the chart. I would like to change the color of this line and/or make it thicker. However, I have not been able to find a way to do either of these things. How do I do this?

Here is what I tried unsuccessfully based on what I found in the PieChartView docs:

chart.tintColor = .blue
chart.maxAngle = 5

Solution

Its slice spacing between each slice of Pie Chart. If you want to change or increase that space then you can set space using yourPieChartDataSet.sliceSpace = 5.



Answered By - Kishan Bhatiya
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing