Skip to content

ChartLabel isn't working  #269

@mhdevfr

Description

@mhdevfr

Hi I'm currently making a IOS App about daily expenses with Swift and I'm also using ChartView for nice and smooth Chart as I've seen sometime, but there is one issue, if you want to make a ChartValue for example the amount or any data in it, it make your simulator just crash, dont know how to fix that.

Description

Expected Behavior

Actual Behavior

Possible Fix

Steps to Reproduce

To do the same as I, I suggest you to create a data, like a value of cryptocurrency, and after this just make your ChartLabel like this : ` ChartLabel(totalExpenses.formatted(.currency(code: "USD")), type: .title)

`

Your Environment

  • Version of this package used: Last Version 2.0
  • Device/Simulator: xCode - Iphone 15
  • Operating System and version: Mac OSX M1
  • Link to your project: not yet.
    Capture d’écran 2024-08-09 à 2 40 49 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions