Hi there,
I’m looking for some guidance on specifying the display/plot order of the fill option on a plot.
For example, consider the following chart,
Plot.plot({
marks: [
Plot.barY(data,{
x: "x_value",
y: "y_value",
fill: "fill_value"
}
)
]
})
I’m not entirely sure how OJS decides the order that the fill will plot itself in a shared bar chart, but what if I want to have it be specific?
Let’s assume that data.fill_value = ["A","B","C"]
. The order it is plotted in the bar has a default that I want to override so that maybe “C” is plotted on the bottom of the bar.
Hopefully this is enough to go on without building a notebook, but I’m open to learning how to do that if more context is needed.