Two thresholds in Bullet Charts

Hi

Is it possible to have 2 trehsolds in a bullet charts? Currently I can only get 1 threshold

I have added a second threshold line but it wont get added to the plot:

fig ← plot_ly(
type = “indicator”,
mode = “number+gauge+delta”,
gauge = list(
shape = “bullet”,
axis = list(range = list(low, high)),
steps = list(
list(range = c(0, 25), color = “#0072B275”),
list(range = c(75, 100), color = “#E69F0075”)),
bar = list(color = “#CC79A7”),
threshold = list(
line = list(color = “#0072B2”, width = 2),
thickness = 0.75,
value = lowerlimit),
threshold = list(
line = list(color = “#E69F00”, width = 2),
thickness = 0.75,
value = upperlimit)),
delta = list(reference = high),
value = val,
domain = list(x = c(0, 1), y = c(0, 1)),
title= list(text = “Test”),
height = 150)

fig

Helooooowwww??? Anone here on this forum? Someone from Plolty maybe??

1 Like

I also have this question. I saw this was also raised on another forum with no answer, so I ended up having to use Ggplot2 to recreate what I had hoped to do in Plotly. It would be great if Plotly could support this, if it doesn’t. Also, it would be helpful if we could change the design of the threshold (from a vertical bar to, for example, a diamond).

Could someone advise if this is possible, or if it is a feature being considered? Thanks!