Coder Social home page Coder Social logo

wqcharts-ios's People

Contributors

coderwqyao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wqcharts-ios's Issues

Cannot install with cocoapods or Swift Package Manager

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

More Documentation

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.

BizChartVC crash in small dataCount = 3 Value

@CoderWQYao Can you see this please
-this is my init
override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) {
barWidth = 15
barWidthHalf = barWidth / 2
dataCount = 3
maxDataValue = 1000
clipToRectInset = UIEdgeInsets(top: 0, left: -barWidthHalf, bottom: 0, right: -barWidthHalf)
super.init(nibName: nibNameOrNil, bundle: nibBundleOrNil)
}

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
*_

Error : "Cannot find type 'WQChartView' in scope"

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.