Skip to main content

All Questions

Tagged with
0 votes
1 answer
40 views

How to prevent hiding plotly chart bar on chart legend click

How to prevent hiding plotly chart bar on chart legend click in an angular application. <plotly-plot [divId]="graph.selectedGraph.name" [data]="graph.selectedGraph....
vijesh's user avatar
  • 1,163
1 vote
1 answer
749 views

How can I copy text from a single legend entry in plotly graphic?

I'm trying to select the text of a single entry/trace from a plotly plot. By default, text is not selectable at all from my plot, which I generated like this: In my R Markdown script, an R code chunk ...
Henrik's user avatar
  • 33
1 vote
2 answers
4k views

How to render a plotly plot with preset traces hidden i.e. 'legendonly' based on list

Thanks to help on a previous question here I can now record in a list which traces are hidden in a plotly plot by reading out the legend list of TRUE/legendonly with a piece of javascript, which I use ...
Mark's user avatar
  • 2,859
6 votes
1 answer
2k views

How to change cursor on plotly graph when mouse hover event occurred?

i'm trying to change cursor from pointer to default when hover event occurred on plotly's graph legend legend: { cursor: "default", x: xLegenda, y: yLegenda, ...
Giuseppe Giubaldo's user avatar
0 votes
1 answer
586 views

Multiple Y-Axis Legend on single data with plotly.js

I'am willing to display two legends (relative and absolute scales) on a graphic using plotly js. To do so I may use this piece of code: var trace1 = { x: [1, 2, 3], y: [40, 50, 60], name: '...
Trolldejo's user avatar
  • 466
-1 votes
2 answers
315 views

Javascript library for multiple factor legend plot

I am trying to draw a plot with multiple factors. I hope these different factors are distinguished by color, size, and shape of the scatter. An example of this kind of plot is here https://github.com/...
user7117436's user avatar