Closed carson-katri closed 5 months ago
Depends on https://github.com/liveview-native/liveview-client-swiftui/pull/1203
Here's an example of driving a style with a chart value:
"bar" do foregroundStyle(by: .value("Group", attr("group"))) end
<Chart> <BarMark :for={x <- 1..10} x={x} x:label="X" y={x} y:label="Y" group={x} class="bar" /> </Chart>
Depends on https://github.com/liveview-native/liveview-client-swiftui/pull/1203
Here's an example of driving a style with a chart value: