coderwqyao / wqcharts-ios Goto Github PK
View Code? Open in Web Editor NEWhighly customizable and easy to use chart library for iOS
License: MIT License
highly customizable and easy to use chart library for iOS
License: MIT License
Hello,
I'm using latest versions of Swift (5.2) and XCode (11.4) and I wanted to try your charts library.
I tried to install it in a new project with Cocoapods and I get this error :
Framework not found WQCharts
I also tried to install it with Swift Package Manager and I get this error :
because every version of WQCharts-iOS contains incompatible tools version and root depends on WQCharts-iOS 1.1.0..<2.0.0, version solving failed.
Failed to resolve dependancy.
Do you know if I'm doing something wrong or if it's the library setup that has an issue ?
Thank you
in the scrollable chartView I need to make items separated with fixed space.
I get the following warning when building my app :
Showing Recent Messages
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.
Maybe you could update your package.swift file ? Or is there a work around ?
Thank you
Is there more documentation available?
I'm trying to add a chart to UIView on a table row but can't seem to figure it out using the info on front page and demo code.
I think it crashes here: "FixedVisiableCountDistributionRow"
**func bizChartView( BizChartView: BizChartView, rowAtIndex index: Int) -> BizChartView.Row {
let rowWidth = min(BizChartView.bounds.width, BizChartView.bounds.height) / 3
if radioCellSelectionForKey("DistributionMode") != 0 {
let visiableCount = Int((BizChartView.bounds.size.width - BizChartView.padding.left - BizChartView.padding.right) / (barWidth + 2))
return FixedVisiableCountDistributionRow(rowWidth, visiableCount, dataCount)
} else {
return FixedItemSpacingDistributionRow(rowWidth, barWidth + 18, dataCount)
}
}_
---------This is the console log
_TestChart.BizChartVC: 0x7f9c02034a00> viewDidLoad()
2020-05-27 18:52:01.364930+0000 WibAnalytics[79607:1031390] *** Terminating app due to uncaught exception 'NSRangeException', reason: ' __boundsFail: index 3 beyond bounds [0 .. 2]'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350*_
Here is my code :
import UIKit
import WQCharts
class GlobalStatsViewController: UIViewController {
@IBOutlet weak var chartView: WQChartView!
override func viewDidLoad() {
super.viewDidLoad()
}
}
I can't pass this step as I get the error on the IBOutlet line : "Cannot find type 'WQChartView' in scope"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.