Questions tagged [linemark]
4 questions
1
vote
0 answers
Possible to bring Rule Line Mark in Webcomposer (Monaco Editor)?
We planned to bring rule line mark functionality in Web Composer(Using Monaco Editor) as like in Standalone composer.
Can we implement the same functionality in Web Composer(Monaco Editor). Rule Line Mark Functionality in Standalone composer:
Can…

Veeralakshmi
- 11
- 1
1
vote
1 answer
SwiftUI Charts - Plotting Date against Time (make DateComponents conform to Plottable)
I want to plot a date against a time, extracted from the same date: item.sunrise (ISO 8601). The compiler rejects the code below stating: Initializer init(x:y:) requires that DateComponents conform to Plottable.
Chart{
…

Edward Hasted
- 3,201
- 8
- 30
- 48
0
votes
1 answer
In SwiftUI Charts, is it possible to change the color of linemarks and areamarks points based on custom criteria (not y)?
I want to draw an AreaMark chart with SwiftUI, with different colors based on some properties of my points that are not y, like this:
Setting a foregroundStyle for each point will set the color of the last point. It looks pretty easy to set the…

Carl Sarkis
- 11
- 2
0
votes
0 answers
SwiftUI Charts - Have circle at intersection of a LineMark and RuleMark?
I have a vertical slider that moves left to right intersecting the orange and red curves. Is it possible to put a small circle at the intersection of the rule and the curves?
This is the type of code I'd use but RuleMark has no idea where the…

Edward Hasted
- 3,201
- 8
- 30
- 48