I would like to display one data point for Custom Units Scrollable graph (Custom Units Example). Is it possible to do it with this library?
I have looked into issues and the library to check and I only see [ChartAxisValue] array to create…
In my app, I use SwiftCharts lib to create some charts, like that :
You can see in the picture , I create a BubbleInfo view when user tap the point in the chart, then I add a UIButton in BubbleInfo view, code in below:
bubbleView.transform =…
I am tweaking the Areas Example project from SwiftCharts and I am running into the issue where the point indicators are getting cut off like so:
In the github issues a found this and this other issue where the solutions were to set…
I am new to SwiftCharts so I am still trying to understand how it works. I wanted to draw a cubic line chart, however, to no success.
As far as I understand from this example, the view that would contain the chart should be of class "Chart".…
I have created a calendar app which uses SwiftCharts to display a time bar like this:
I nest the chart bars inside UITableViewCells. When I tap on the cells (not the event bar directly), I navigate to another view. Everything currently works great…
I am using the SwiftCharts library found here.
I have the following code:
class ChartTestViewController: UIViewController {
@IBOutlet weak var chartView: UIView!
override func viewDidLoad() {
super.viewDidLoad()
let xaxis = ["monday",…
I am trying to add SwiftCharts to create a bar chart in my project, and after watching a bunch of tutorials and trying multiple things it still isn't working.
As of now, the SwiftCharts.xcodeproj is embedded in my project. The SwiftCharts.framework…
I am customising ios charts as per my need and showing them in a tabel view. For the first time they look different and after scrolling and reloading they look better.
I have taken a view inside a cell and adding chart as a subview.
Here is my code…
I am trying to pass array as the groupsData. Here is an example of group chart by i-schuetz.
fileprivate var chart: Chart?
fileprivate func barsChart(horizontal: Bool) -> Chart {
let labelSettings = ChartLabelSettings(font:…
I'm currently learning Swift and SwiftUI. I'm working at a MacOS app that will need to visualize a number of traces. The user must be able to scroll along the X axis of any of the traces and the other ones should be scrolling synchronously (think…
I'm trying to display a users weekly steps from HealthKit (broken down into daily eg Monday - 1200, Tuesday - 800), I've made a View model that gets all the data, if I do not add a delay on the data in my view, it wont print, but now my chart is not…
I'm using Swift Charts to create a chart in my app, I want a scrollable view to be able to see chart data over a wide time range, however I am unable to properly get X axis labels to use the picker value (day, month, year)
ScrollView(.horizontal) {
…
I am making a chart which consists of an Area Mark, 2 Line Marks & 2 Point Marks.
No matter which order I place the different chart elements, the Area Mark is on top and I can't find any documentation or online articles explaining how to change the…
I am developing a finance management app, and I want to display a bar chart for each spending category. The goal is to show the user a visual representation of their transactions within a specific time period, such as today, this week, this month,…
I am using CHARTS library in Swift. https://github.com/danielgindi/Charts
currently plotting barchart using sample value with icons using the following code
barValue = BarChartDataEntry(x: Double(i.x!), y: Double(y), icon: UIImage(named:…