https://github.com/iBlacksus/BSChart
BSChart is a simple and useful chart library written on Swift
https://github.com/iBlacksus/BSChart
Last synced: 6 months 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 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T07:40:26.000Z (over 6 years ago)
- Last Synced: 2025-04-12T15:59:34.271Z (7 months ago)
- Language: Swift
- Homepage:
- Size: 8.1 MB
- Stars: 187
- Watchers: 6
- Forks: 19
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cocoa - BSChart
README
# BSChart



## 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, iblacksus@gmail.com
## License
BSChart is available under the MIT license. See the LICENSE file for more info.