Re: [R] plotly question

2023-07-22 Thread CALUM POLWART
I was just replying to say which bit do you consider the indicator. But I see Boris has provided a Chat GPT solution. Running it hopefully shows you how to change colours on various parts. On Fri, 21 Jul 2023, 22:43 Jeff Newmiller, wrote: > plotly is _not_ associated with posit. I think you

Re: [R] plotly question

2023-07-21 Thread Boris Steipe
Since it is 2023, I asked that question to ChatGPT-4 and got the following response. - The `plotly` library in R uses the `gauge` argument inside the `plot_ly` function to specify the properties of the gauge plot. You can change the indicator color of the arc (also know

Re: [R] plotly question

2023-07-21 Thread Jeff Newmiller
plotly is _not_ associated with posit. I think you are unlikely to find expertise with plotly in their forums. You might find help at stackoverflow.com. On July 21, 2023 1:40:49 PM PDT, Bert Gunter wrote: >As you apparently haven't received any responses yet, I'll try to >suggest something usefu

Re: [R] plotly question

2023-07-21 Thread Bert Gunter
As you apparently haven't received any responses yet, I'll try to suggest something useful. However, I have absolutely zero experience with plotly, so this is just from general principles and reading the plot_ly Help file, which says for the "..." arguments: "Arguments (i.e., attributes) passed al

[R] plotly question

2023-07-21 Thread Thomas Subia via R-help
Colleagues Here is my reproducible code plot_ly(   domain = list(x = c(0, 1), y = c(0, 1)),   value = 2874,   title = list(text = "Generic"),   type = "indicator",   mode = "gauge+number+delta",   delta = list(reference = 4800),   gauge = list(     axis =list(range = list(NULL, 5000)),     steps