CrystalMarch / Coordinateaxischart
Drawing graphs of point, linear function, power function, exponential function, logarithmic function, circular function, etc in a coordinate. (实现了在坐标系中画点,一次函数,幂函数,指数函数,对数函数,三角函数等)
Stars: ✭ 90
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Coordinateaxischart
Jyradarchart
an iOS open source Radar Chart implementation
Stars: ✭ 419 (+365.56%)
Mutual labels: cocoapods, chart
Computator.net
Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
Stars: ✭ 174 (+93.33%)
Mutual labels: mathematics, chart
Tkradarchart
A customizable radar chart in Swift
Stars: ✭ 199 (+121.11%)
Mutual labels: cocoapods, chart
Tablemanager
An extension of UITableView. The way it should be. 👍
Stars: ✭ 85 (-5.56%)
Mutual labels: cocoapods
Notebooks
📓 A growing collection of Jupyter Notebooks written in Python, OCaml and Julia for science examples, algorithms, visualizations etc
Stars: ✭ 84 (-6.67%)
Mutual labels: mathematics
Magnetic
SpriteKit Floating Bubble Picker (inspired by Apple Music) 🧲
Stars: ✭ 1,252 (+1291.11%)
Mutual labels: cocoapods
Sfacecompare
Simple lib for iOS to find and compare faces.
Stars: ✭ 83 (-7.78%)
Mutual labels: cocoapods
Ss Vis Component
VIS components for a security system, to monitor the state and confirm the system's health running.
Stars: ✭ 88 (-2.22%)
Mutual labels: chart
Freedom
The Freedom to Open URLs in Third-Party Browsers on iOS with Custom UIActivity Subclasses.
Stars: ✭ 85 (-5.56%)
Mutual labels: cocoapods
Slidingtabbar
A custom TabBar view with sliding animation written in Swift.
Stars: ✭ 84 (-6.67%)
Mutual labels: cocoapods
Networking
Easy HTTP Networking in Swift a NSURLSession wrapper with image caching support
Stars: ✭ 1,269 (+1310%)
Mutual labels: cocoapods
Rsformview
A Cocoapods library designed to easily create forms with multiple data entry fields
Stars: ✭ 84 (-6.67%)
Mutual labels: cocoapods
Randomcolor
Javascript module for generating random, distinguishable, pleasing colors (ie: for chart series).
Stars: ✭ 83 (-7.78%)
Mutual labels: chart
Smartchart
智能折线图、柱状图,支持水平垂直滚动拉伸,自适应屏幕(解决与scrollview滑动冲突),x轴y轴自定义刻度以及标题,双向滚动列表;增加一周天气折线图以及24小时天气预报
Stars: ✭ 85 (-5.56%)
Mutual labels: chart
Diffract
A set of d3 based visualization components built for React
Stars: ✭ 87 (-3.33%)
Mutual labels: chart
Csmath 2020
This mathematics course is taught for the first year Ph.D. students of computer science and related areas @ZJU
Stars: ✭ 85 (-5.56%)
Mutual labels: mathematics
Yndropdownmenu
✨ Awesome Dropdown menu for iOS with Swift 5.0
Stars: ✭ 1,259 (+1298.89%)
Mutual labels: cocoapods
CoordinateAxisChart
Drawing graphs of point, linear function, power function, exponential function, logarithmic function, circular function, etc in a coordinate. (实现了在坐标系中画点,一次函数,幂函数,指数函数,对数函数,三角函数等)
for instance:
- linear function(一次函数): yAxis = xAxis - 3
- power function(幂函数): yAxis = pow(xAxis, 2)
- exponential function(指数函数): yAxis = pow(2, xAxis)
- logarithmic function, xAxis should be greater than zero(对数函数, 此时应该设置axis的值大于0): yAxis = log (xAxis)
- circular function(三角函数), like sin, cos, tan: yAxis = sin (xAxis)
Android version entrance
Effect picture
Installation
CocoaPods
Add to your Podfile:
Swift:
use_frameworks!
pod 'CoordinateAxisChart', '~> 1.0.1'
Note: To use Swift 3.x / master, you need Xcode 8+
To use master directly (it's usually stable):
pod 'CoordinateAxisChart', :git => 'https://github.com/CrystalMarch/CoordinateAxisChart.git'
And then:
pod install
Import the framework in your code:
import CoordinateAxisChart
Quick start
let chartView = CoordinateAxisChart()
chartView.frame = CGRect(x:50,y:50,width:220,height:220)
var pointData: [CGPoint] = []
for i in -40...70 {
let xAxis = CGFloat(i)/10
let yAxis = sin (xAxis)
pointData.append(CGPoint(x:xAxis,y:yAxis))
}
chartView.setPointData(pointData: pointData, chartType: .line,lineOrPointColor:UIColor .red,animation: true)
chartView.xMaxValue = 7
chartView.animationTime = 2
chartView.axisColor = UIColor.gray
chartView.xMinValue = -4
chartView.yMaxValue = 3
chartView.yMinValue = -3
self.view.addSubview(chartView)
func refreshButonClick(sender:UIButton) {
chartView.refresh()
}
func clearButtonClick(sender:UIButton) {
chartView.clear()
}
func changeAxisColorButtonClick(sender: UIButton) {
let red = CGFloat(arc4random()%256)/255.0
let green = CGFloat(arc4random()%256)/255.0
let blue = CGFloat(arc4random()%256)/255.0
chartView.axisColor = UIColor(red: red, green: green, blue: blue, alpha: 1.0)
}
func changeAxisValueButtonClick(sender:UIButton) {
chartView.xMaxValue = Int(arc4random()%10)
chartView.xMinValue = -Int(arc4random()%10)
chartView.yMaxValue = Int(arc4random()%10)
chartView.yMinValue = -Int(arc4random()%10)
}
Properties:
xMaxValue:
- set the max value of x axis(设置x轴的最大值)
xMinValue:
- set the min value of x axis(设置x轴的最小值)
yMaxValue:
- set the max value of y axis(设置y轴的最大值)
yMinValue:
- set the min value of y axis(设置y轴的最小值)
axisColor:
- set the color of the axis(设置坐标轴的颜色)
animationTime:
- set the animation time of draw line(设置画函数线条的动画时间)
Function:
setPointData(pointData:[CGPoint],chartType:ChartType,lineOrPointColor:UIColor,animation:Bool)
- pointDate: set the data for chart
- chartType: set the chart type (line or point)
- lineOrPointColor: set the line or point color
- animation: set whether animation is needed
refresh()
clear()
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].