rx.hstack(rx.chart(), rx.chart(polar=True))
rx.chart(
rx.line(
data=rx.data(
"line", x=[1, 2, 3, 4, 5], y=[1, 2, 3, 4, 10]
),
)
)
rx.chart(
rx.line(
data=rx.data(
"line", x=[1, 2, 3, 4, 5], y=[1, 2, 3, 4, 10]
),
interpolation="natural",
style={
"data": {"stroke": "green", "strokeWidth": 2}
},
),
rx.scatter(
data=rx.data(
"scatter",
x=[1, 2, 3, 4, 5],
y=[5, 12, 4, 6, 1],
amount=[6, 5, 3, 9, 3],
),
bubble_property="amount",
min_bubble_size=0.0,
max_bubble_size=10.0,
style={"data": {"fill": "#00FFFF", "opacity": 0.5}},
),
domainPadding={"x": 50, "y": 50},
)
rx.chart_group(
rx.bar(
data=rx.data(
"bar",
x=["a", "b", "c", "d", "e"],
y=[1, 2, 3, 4, 10],
),
),
rx.bar(
data=rx.data(
"bar",
x=["a", "b", "c", "d", "e"],
y=[5, 12, 4, 6, 1],
),
),
rx.bar(
data=rx.data(
"bar",
x=["a", "b", "c", "d", "e"],
y=[3, 2, 5, 14, 1],
),
),
offset=20.0,
)
rx.chart(
rx.chart_group(
rx.bar(
data=rx.data(
"bar",
x=["a", "b", "c", "d", "e"],
y=[1, 2, 3, 4, 10],
),
),
rx.bar(
data=rx.data(
"bar",
x=["a", "b", "c", "d", "e"],
y=[5, 12, 4, 6, 1],
),
),
rx.bar(
data=rx.data(
"bar",
x=["a", "b", "c", "d", "e"],
y=[3, 2, 5, 14, 1],
),
),
offset=20.0,
color_scale="qualitative",
)
)
rx.chart_stack(
rx.area(
data=rx.data(
"line", x=[1, 2, 3, 4, 5], y=[1, 2, 3, 4, 10]
),
),
rx.area(
data=rx.data(
"line", x=[1, 2, 3, 4, 5], y=[5, 12, 4, 6, 1]
),
),
)
Wrapper component that renders a given set of children on a set of Cartesian or polar axes.
Display a victory group.
Display a victory stack.