Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iBlacksus/BSChart
BSChart is a simple and useful chart library written on Swift
https://github.com/iBlacksus/BSChart
Last synced: about 1 month ago
JSON representation
BSChart is a simple and useful chart library written on Swift
- Host: GitHub
- URL: https://github.com/iBlacksus/BSChart
- Owner: iBlacksus
- License: mit
- Created: 2019-07-11T10:14:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T07:40:26.000Z (over 5 years ago)
- Last Synced: 2024-04-26T01:42:00.917Z (8 months ago)
- Language: Swift
- Homepage:
- Size: 8.1 MB
- Stars: 188
- Watchers: 7
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cocoa - BSChart
README
# BSChart
![Image](ReadmeResources/demo1.jpg)
![Image](ReadmeResources/demo2.jpg)
![Image](ReadmeResources/demo.gif)## Installation
* Download whole project
* Drag the folder `BSChart` into your project## JSON specification
* `chart.columns` – List of all data columns in the chart. Each column has its label at position 0, followed by values.x values are UNIX timestamps in milliseconds
* `chart.types` – Chart types for each of the columns. Supported values: "line", "area”, "bar”, "x" (x axis values for each of the charts at the corresponding positions)
* `chart.colors` – Color for each variable in 6-hex-digit format (e.g. "#AAAAAA")
* `chart.names` – Name for each variable
* `chart.percentage` – true for percentage based values
* `chart.stacked` – true for values stacking on top of each other
* `chart.y_scaled` – true for charts with 2 Y axes## Available loading charts from JSON files (see Demo) and creating objects manually
## Requirements
* iOS 10.0 or higher
* ARC## Author
iBlacksus, [email protected]
## License
BSChart is available under the MIT license. See the LICENSE file for more info.