Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 09:54
    mitani-shimpei opened #4885
  • Aug 18 21:18
    michalnowak061 commented #4860
  • Aug 18 21:10
    alanzeino commented #4874
  • Aug 18 20:48
    justinmeiners opened #4884
  • Aug 18 13:21
    lukeredpath synchronize #4823
  • Aug 18 06:31
    kevinho96 commented #4860
  • Aug 17 23:19
    sjmerel commented #4798
  • Aug 17 20:42
    quintonpryce commented #4883
  • Aug 17 20:40
    quintonpryce commented #4883
  • Aug 17 20:38
    quintonpryce edited #4883
  • Aug 17 20:37
    quintonpryce opened #4883
  • Aug 17 19:08
    quintonpryce commented #2063
  • Aug 15 20:34
    ahamel closed #4882
  • Aug 15 20:32
    ahamel opened #4882
  • Aug 14 07:34
    kanstantsin-bucha opened #4881
  • Aug 12 14:53
    PeterDNardo edited #4880
  • Aug 12 14:52
    PeterDNardo closed #4880
  • Aug 12 14:52
    PeterDNardo commented #4880
  • Aug 12 08:50
    o15a3d4l11s2 commented #4823
  • Aug 12 06:13
    PeterDNardo edited #4880
Pierre-Marc Airoldi
@petester42
I really have no idea sorry. Start a new project and add all you files again. There must be a setting but I don’t know it.
Not really related to our library though.
Marcos Felipe Souza Pinto
@MarcosJava
My project is
My project is being rejected because of bitcode enabled by apple, what do I do?
I’ve done bitecode true/false and Apple Reject my app :worried:
When I will get to work tomorrow I will print the screen for us :+1:
Marcos Felipe Souza Pinto
@MarcosJava
I was already forgetting to mention that the bitecode error in the Charts: /
Pierre-Marc Airoldi
@petester42
The error is because it has it on or off?
Marcos Felipe Souza Pinto
@MarcosJava
The both
Pierre-Marc Airoldi
@petester42
If you find out why pull requests are welcome. Seems weird though that both don’t work.
Marcos Felipe Souza Pinto
@MarcosJava
Termination Description: DYLD, Library not loaded: @rpath/libswiftCore.dylib | Referenced from: /private/var/containers/Bundle/Application/C24E4B0D-0FF7-47C4-A84C-2DFAE383D481/São Bernardo.app/Frameworks/Charts.framework/Charts | Reason: image not found
Apple sent it above to me=]
Marcos Felipe Souza Pinto
@MarcosJava
In ItunesConnect : Guideline 2.1 - Performance - App Completeness We were unable to review your app as it crashed on launch. We have attached detailed crash.
In the detailed crash has this message above.
Marcos Felipe Souza Pinto
@MarcosJava
I changed the version app ,
I set Embedded Binaries with Charts.Framework
I set in ItunesConnect for dont use bitecode and Gone !!!! App in Store with Charts \o/
I had done thousands change in the project and this workedd ! Thanks
Pierre-Marc Airoldi
@petester42
Did the solution involve changing anything in our code or it only on your app’s side?
Xuan
@liuxuan30
@danielgindi could you add @jjatie in? He's contributing a lot for swift changes. Github has introduces "projects" tab so we can manage PRs much easier, but @jjatie does not have access to add/edit them. He'd be happy to join us.
Pierre-Marc Airoldi
@petester42
It would be much easier if the repo was part of an organization
Xuan
@liuxuan30
@danielgindi please see this message
Xuan
@liuxuan30
@danielgindi please add @jjatie in ChartRealm as well :)
Pierre-Marc Airoldi
@petester42
Move the repos to an org!
James Sayer
@jsayer7_twitter
Is there a reference document for this project? I'm looking to integrate Charts into my app. However, my data values are strings and integers, and can't seem anything online that would say this is supported
James Sayer
@jsayer7_twitter
For instance, I have weather data for the next hour..My X Axis is actually a date (can be a string even, just not a double), and I have an array of precipitation probabilities (can be either string or doubles). I can't seem to get this data to display
Because it complains that the times are not doubles
Pierre-Marc Airoldi
@petester42
The key to doing something like this is that you used doubles for points on a graph but you give formatted labels to you points. For example a formatted date can be displayed as label but the actual point on the graph is an integer of time since 1970.
James Sayer
@jsayer7_twitter
Thank you Pierre-Marc! Is there a guide or tutorial anywhere for formatting this?
the only tutorials I can find online are using int based strings such as "150" and "2". Pretty simple to get the double value of that
Pierre-Marc Airoldi
@petester42
I think there might be a demo using it but I don’t know which one off the top of my head.
James Sayer
@jsayer7_twitter
`public func stringForValue(_ value: Double, axis: AxisBase?) -> String {
let date = Date(timeIntervalSince1970: value)
let components = Calendar.current.dateComponents([.hour, .minute], from: date)
    guard let hour = components.hour, let minute = components.minute else {
        return ""
    }
    let hourString = String(describing: hour)
    let minuteString = String(describing: minute)
`
Something like that?
then return a string with those two strings formatted?
Pierre-Marc Airoldi
@petester42
Ya something like that.
James Sayer
@jsayer7_twitter
Thanks, I'll see what i can do. The documentation for the formatting of the axis is not very clear
Pierre-Marc Airoldi
@petester42
If the documentation is really not clear please open an issue with suggestions of how to make it better. Or even better create a pull request updating them!
James Sayer
@jsayer7_twitter
I figured it out, I just had to wrap my head around the formatting!
Thank you Pierre for the help! I was curious if there was a way to hide the labels above a value in a line chart? I have a graph displaying the weather information for the next 60 minutes. I'm running into scenarios where the entries are so close together that the labels are overlapping
Pierre-Marc Airoldi
@petester42
Maybe if you return null for the formatting for the points you want to skip. I’m not too sure though. Maybe someone else has a better insight.
Parag Dulam
@paragdulam

hi guys, i am working on the bar chart of charts library. but the chart gets selected even i tap outside the chart. i checked the link below which has older version of swift implemented and am looking for how can it be done in swift 4?

https://stackoverflow.com/questions/40232200/charts-get-selected-bar-data-only-when-tapped-inside-the-bar?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

Seth Bromberger
@sbromberger

hi all - is there a way to use Charts with spm? I've tried

    dependencies: [
        .package(url: "https://github.com/danielgindi/Charts.git", from: "3.1.1")
    ],

and gotten

Dependencies: 
    https://github.com/danielgindi/Charts.git @ 3.1.1..<4.0.0
'ChartsDemo' /Users/seth/dev/swift/ChartsDemo: error: product dependency 'Charts' not found
#2950 suggests this should work.
HamGuy
@HamGuy
Dose anyone could help me with this issue? danielgindi/Charts#2504
Pierre-Marc Airoldi
@petester42
I answered in the issue. Hope it helps. I’ll reply there if you still have issues.
HamGuy
@HamGuy
@petester42 thanks for the reply, i had updated my question in the issue.
M.Awais Fayyaz
@AwaisFayyaz
Hi every one.

I am trying to show positive as well as negative values in a bar chart. I . I am using charts 3.1 on xcode 9.4.1. Can anybody tell me how to acheive it. This answer suggests to set logical values and use formatter for showing values as negative.

But i don't know how to set logical values and use formatter for displaying neg values.

Any help would be much appreciated.

Thanks

Pierre-Marc Airoldi
@petester42
I don’t think I quite understand could you please provide an example dataset for the chart you’re trying to create?
M.Awais Fayyaz
@AwaisFayyaz
@petester42 . Thanks for the reply. Currently, can you help me with this comment?
I am trying to set fixed intervals for y axis.