SkillAgentSearch skills...

SHFunnelChart

If you need easy customizable Funnel Chart, you can find it here :)

Install / Use

/learn @shayan77/SHFunnelChart
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SHFunnelChart

License

If you want to show some data with a visual funnel chart you can you use SHFunnelChart easily.

Demo

Features

  1. Uou can customize as much as you can
  2. Colors, fonts, segments, values and all things can be set
  3. Use shadows for right or left side of Funnel Chart
  4. Use animation for showing the chart

Requirements

  • iOS 11.0+
  • Xcode 9+

Swift Package Manager

SHSegmentedControl is available through Swift Package Manager. To install it, simply go to Xcode under File > Swift Packages > Add Package Dependency...

Manually

If you prefer not to use SPM, you can integrate SHSegmentedControl into your project manually.

Usage

You can use SHFunnelChart from storyboard easily.

funnelChart.animateIntoViewWhenPropertiesChange = true
funnelChart.values = [funnelRegisterCount, donePackageCount, donePickUpCount, morThanTwoPickUpCount]
funnelChart.drawFunnelLeftShadow = true
funnelChart.horizontalLinesThickness = 0.0
funnelChart.colorPalette = [#colorLiteral(red: 0.3529411765, green: 0.7843137255, blue: 0.9803921569, alpha: 1), #colorLiteral(red: 0.4352941176, green: 0.4431372549, blue: 0.4745098039, alpha: 1), #colorLiteral(red: 0.3921568627, green: 0.737254902, blue: 0.168627451, alpha: 0.7340806935), #colorLiteral(red: 1, green: 0.5843137255, blue: 0, alpha: 0.7659460616) ]
funnelChart.font = UIFont.IRANSans(size: 16)!
funnelChart.drawHorizontalLines = true
funnelChart.drawLabels = true

Contribution

Feel free to submit Pull Requests or send me your feedback and suggestions!

Author

Shayan Mehranpoor

  • https://github.com/shayan77
  • https://www.linkedin.com/in/shayan-mehranpoor/
  • shm7723@gmail.com

License

SHFunnelChart is available under the MIT license. See the LICENSE file for more info.

Related Skills

View on GitHub
GitHub Stars14
CategoryDevelopment
Updated3y ago
Forks0

Languages

Swift

Security Score

75/100

Audited on May 29, 2022

No findings