Skip to content
BSChart is a simple and useful chart library written on Swift
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
BSChart introduce "sum" property Aug 3, 2019
Demo Refactoring BSChartItem, BSChartObject Jul 16, 2019
ReadmeResources resize demo images Jul 11, 2019
.gitignore Initial commit Jul 11, 2019
LICENSE Initial commit Jul 11, 2019 add json specification Aug 3, 2019
_config.yml Set theme jekyll-theme-architect Jul 11, 2019


Image Image Image


  • 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


  • iOS 10.0 or higher
  • ARC




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

You can’t perform that action at this time.