gpui-component icon indicating copy to clipboard operation
gpui-component copied to clipboard

Cannot call .stroke on LineChart / private field error

Open J2ane opened this issue 1 month ago • 0 comments

Environment: gpui version: 0.2.2 gpui_component version: 0.4.0

LineChart::new(self.data.clone())
    .x(|d| d.x.clone())
    .y(|d| d.y)
    .stroke(cx.theme().success)
Diagnostics:
no method named `stroke` found for struct `LineChart<T, X, Y>` in the current scope
private field, not a method [E0599]

J2ane avatar Nov 17 '25 12:11 J2ane