Set "y"/"Series" such that a single object/payload can draw multiple data points #293
Labels
feature-request
New feature or request that needs to be turned into Epic/Story details
needs-triage
Needs looking at to decide what to do
size:S - 2
Sizing estimation point
Description
With the incoming
0.7.0
release, you'll be able to defineseries
,x
andy
for a chart, which tells it which data points/values to render onto the chart given an incoming payload, e.g.We can set the
key
for the x-axis totime
and thekey
for the y-axis toa
on theui-chart
in order to render{'2023-10-30', 3}, {'2023-10-31', 4}
.If we want to plot two data points/lines onto the same chart, we would still need to run a
function
node, and split these data points into messages like:This feels excessive and messy. Our objective with
ui-chart
is everything should be as low code as possible.As such, I propose that instead, we provide the functionality to set
series
to be something likemultiple
, and then provide an additional type for the y-axisTypedInput
that isJSON
, such that you can pass a list:["a", "b"]
and it will then plot two data points from a single piece of data.Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: