Trace x y
new :
{
data : List
{
x : x,
y : y,
marker : Marker.Marker
},
orientation ?
[
Vertical,
Horizontal
],
name ? Str,
bar_width ? F32
}
-> Result (Trace x y)
with_name : Trace x y, Str -> Trace x y
with_bar_width : Trace x y, F32 -> Result (Trace x y) [OutOfRange Str]
to_str : Trace x y -> Str
where x implements Inspect, y implements Inspect