{"id":15050779,"url":"https://github.com/sunriseoyr/orcharts","last_synced_at":"2025-08-20T18:32:24.246Z","repository":{"id":46525287,"uuid":"104328189","full_name":"SunriseOYR/ORCharts","owner":"SunriseOYR","description":"饼状图、环形图、扇形图、曲线图、折线图","archived":false,"fork":false,"pushed_at":"2021-04-22T16:22:18.000Z","size":4160,"stargazers_count":155,"open_issues_count":6,"forks_count":32,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-18T05:02:17.684Z","etag":null,"topics":["chart","charts","ios","library","objective-c","pie-chart"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SunriseOYR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-21T09:27:17.000Z","updated_at":"2024-09-21T08:09:06.000Z","dependencies_parsed_at":"2022-08-26T03:32:25.846Z","dependency_job_id":null,"html_url":"https://github.com/SunriseOYR/ORCharts","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunriseOYR%2FORCharts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunriseOYR%2FORCharts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunriseOYR%2FORCharts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SunriseOYR%2FORCharts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SunriseOYR","download_url":"https://codeload.github.com/SunriseOYR/ORCharts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230445926,"owners_count":18227060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chart","charts","ios","library","objective-c","pie-chart"],"created_at":"2024-09-24T21:29:19.767Z","updated_at":"2024-12-19T14:06:53.215Z","avatar_url":"https://github.com/SunriseOYR.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ORCharts\n\n[![CI Status](https://img.shields.io/travis/sunrise_oy@163.com/ORCharts.svg?style=flat)](https://travis-ci.org/sunrise_oy@163.com/ORCharts)\n[![Version](https://img.shields.io/cocoapods/v/ORCharts.svg?style=flat)](https://cocoapods.org/pods/ORCharts)\n[![License](https://img.shields.io/cocoapods/l/ORCharts.svg?style=flat)](https://cocoapods.org/pods/ORCharts)\n[![Platform](https://img.shields.io/cocoapods/p/ORCharts.svg?style=flat)](https://cocoapods.org/pods/ORCharts)\n\n## Table of contents\n* [Screenshots](#screenshots)\n* [Installation](#installation)\n* [Setup](#setup)\n\n# \u003ca id=\"screenshots\"\u003e\u003c/a\u003eScreenshots \n\n### RingChart\n![RingChart](https://upload-images.jianshu.io/upload_images/5192751-6b13744cc1b9926d.png?imageMogr2/auto-orient/strip%7CimageView2/2/h/440)\n\n### LineChart\n|    Slider    |    Control    |\n|--------------|-------------|\n|![Slider](https://upload-images.jianshu.io/upload_images/5192751-3f68f4db547e98e3.gif?imageMogr2/auto-orient/strip)|![Control](https://upload-images.jianshu.io/upload_images/5192751-cc2abfaa9d6a4330.gif?imageMogr2/auto-orient/strip)|\n\n\n### Example Config\n\nTo run the example project.\n\n|    Ring    |    Line    |\n|--------------|-------------|\n|   ![Config](https://upload-images.jianshu.io/upload_images/5192751-0a70eb88d3829d58.gif?imageMogr2/auto-orient/strip)   |   ![101.gif](https://upload-images.jianshu.io/upload_images/5192751-00b5849cfb364bc4.gif?imageMogr2/auto-orient/strip)   |\n\n\n# \u003ca id=\"installation\"\u003e\u003c/a\u003eInstallation\n\n### ORCharts\n```ruby\npod 'ORCharts'\n```\n### Only Ring\n\n```ruby\npod 'ORCharts/Ring'  \n```\n### Only Line\n\n```ruby\npod 'ORCharts/Line'  \n```\n# \u003ca id=\"setup\"\u003e\u003c/a\u003eSetup\n\n## Use Interface Builder\n1、 Drag an UIView object to ViewController Scene\n2、 Change the `Custom Class` to `ORLineChartView` or `ORRingChartView` \u003cbr/\u003e\n3、 Link `dataSource` and `delegate` to the ViewController \u003cbr/\u003e\n\n## Or use code\n\n```objc\n@property (nonatomic, strong) ORRingChartView *ringChartView;\n```\n```objc\n_ringChartView = [[ORRingChartView alloc] initWithFrame:CGRectMake(0, 0, 375, 375)];\n_ringChartView.dataSource = self;\n[self.view addSubview:_ringChartView];\n```\n\u003cbr/\u003e\n\n```objc\n@property (nonatomic, strong) ORLineChartView *lineChartView;\n```\n\n```objc\n_lineChartView = [[ORLineChartView alloc] initWithFrame:CGRectMake(0, 0, 375, 350)];\n_lineChartView.dataSource = self;\n_lineChartView.delegate = self;    \n[self.view addSubview:_lineChartView];\n```\n\u003cbr/\u003e\n\n## reloadData\nreloadData when data or config changed, see more usage and config in example\n\n```objc\n[_ringChartView reloadData];\n```\n```objc\n[_lineChartView reloadData];\n```\n## dataSource \u0026\u0026 delegate \u0026\u0026 config\nRefer to the Example Or Click the link below\n\n* [ORCharts:Ring](https://www.jianshu.com/p/317a79890984)\n* [ORCharts:Line](https://www.jianshu.com/p/a571ae110ba5)\n\n\n\n## License\n\nORCharts is available under the MIT license. See the LICENSE file for more info.\n\n### [中文简书](https://www.jianshu.com/p/6f65bf7dfbbf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunriseoyr%2Forcharts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsunriseoyr%2Forcharts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsunriseoyr%2Forcharts/lists"}