Questions tagged [macaw]
6 questions
2
votes
2 answers
Value changed but the chart doesn't Swift
I'm using the Macaw framework for my charts. There's only one problem that if it the first time shows the "X" chart, it will always(until closing app) show the "X" chart. But the data is changing(I saw it in the debugger).
Here is the snippet of my…

Sam
- 105
- 1
- 9
2
votes
0 answers
Macaw SVG .scaleAspectFit with SwiftUI
Using Macaw master branch (for Swift Package Manager reasons).
The goal is to just get SVGView to fit inside the frame. The border I draw around SVGViewRepresentable correctly confirms the desired frame size. But .scaleAspectFit just isn't giving…

Nadir Muzaffar
- 4,772
- 2
- 32
- 48
1
vote
1 answer
Macaw SVG Image
So I am trying to get an SVG image to show in SwiftUI however the documentation to the plugin Macaw is not written well - according to the GitHub.
So how can I the following code to work?
First I import this after pod install:
import Macaw
then I…

RussellHarrower
- 6,470
- 21
- 102
- 204
0
votes
0 answers
Finding embedding of a molecule dataset
Embeddings of a drug dataset using macaw (Molecular Autoencoding AutoWorkAround) which is an Accessible Tool for Molecular Embedding and InverseMolecular Design.
After that I convert the embeddings into pandas dataframe and the convert it into a…

Souvik Panda
- 1
- 2
0
votes
1 answer
How to hit multiple CAShapeLayer in swift?
I have got mutliple bezier paths which are incorporated into CAShapeLayers and then add all layers to UIImageView. I have implemented hittest to all layers for selection, But it select the last CAShapeLayer. I want to select others layer as touch,…

Ali Akbar
- 7
- 5
0
votes
1 answer
How to run a class again after is has been initialised
I have a graph which I want to load with data with recent results.
Here is a screenshot to show you what it looks like.
I am able to display the initial data correctly, however after that I cannot update the view to display the new data added to…

Louie M
- 3
- 1