Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
1 vote
0 answers
516 views

I have a little conundrum I was hoping someone could shed a bit of light on. Basically I have a bunch of paired coordinates (roughly 3000), i.e. two points that needs to be connected with a line. ...
Denver Dang's user avatar
  • 2,615
1 vote
1 answer
723 views

Is there an option in Plotly.js to stack line series (series "type": "")? In the example below the three lines to sum to 100%. It is possible to show series as either stacked (e....
prototype's user avatar
  • 8,195
1 vote
0 answers
99 views

I have dashboards built with Plotly.js that are very big... in excess of 100+ charts with thousands of data points. I'm using Puppeteer to generate PDF reports from these dashboards. I'm currently ...
ceds's user avatar
  • 2,245
0 votes
1 answer
181 views

If I click on a symbol on a map I want to create timeseries-plots with plotly. If i click on the next symbol there should be a new plot etc. This is working fine, but I am not able to use the plotly ...
Felix's user avatar
  • 101
1 vote
2 answers
661 views

Let's say we have a 2x4 matrix displayed into a Plotly.js heatmap (in reality it can be 500x1000): var data = [{z: [[1, 2, 3, 4], [5, 6, 7, 8]], type: 'heatmap'}]; Plotly.newPlot('myDiv', data, {...
Basj's user avatar
  • 47.5k
2 votes
1 answer
430 views

I would like to plot data points over a box plot in PlotlyJS in Julia. Here is some reproducible code to create a box plot with data points side by side: using PlotlyJS, CSV, DataFrames df = dataset(...
Quinten's user avatar
  • 42.8k
1 vote
0 answers
73 views

My query is that in my homepage, I want that only daily percent change and market capitalisation seen on this child container. Hovering data should only appear as a hover here but not as a printed ...
shalini srivastava's user avatar
4 votes
1 answer
339 views

I want to listen to keyboard event in plotlyjs(spacebar key pressed to be more specific). When spacebar is pressed I want to discontinue line drawing on mouse click. I have added eventListener to ...
Vinodh Ganesh's user avatar
3 votes
1 answer
1k views

I'd like the top bar "Download plot as a png" button to send the image data to server (for example via Javascript fetch) instead of triggering a browser file download. I see there are Plotly....
Basj's user avatar
  • 47.5k
2 votes
0 answers
343 views

I'm using Plotly.js on a SvelteKit app, and I have this issue that if I have a plot on the page, any <a> tag with no href attribute will trigger a route change to the same route when clicked, ...
Gum Rick's user avatar
  • 255
0 votes
0 answers
528 views

I'm trying to assign specific colors to different lines on my plotly line graph and when specifying key/color pairs using the color_discrete_map parameter I do not get the correct output. For example, ...
user avatar
2 votes
1 answer
1k views

With Javascript, how to disable/enable all mouse interactions on a Plotly.js plot? (click, drag and drop for selection or zooming, etc.) This does not work: the interactions are still available on the ...
Basj's user avatar
  • 47.5k
2 votes
1 answer
4k views

Here the resizing of the image happens automatically when you resize the parent div. How to make a similar behaviour for the Plotly plot, with high FPS? Plotly.newPlot('myDiv', [{x: [1, 2, 3, 4], ...
Basj's user avatar
  • 47.5k
3 votes
1 answer
7k views

When clicking on the top button, the size of the container #myDiv changes. How to make that the Plotly automatically takes all the available size of the container, without any noticeable delay? Here ...
Basj's user avatar
  • 47.5k
1 vote
0 answers
393 views

I am using Plotly OHLC charts with Jupyter Notebook. Currently, Plotly offers some interactive controls on its OHLC charts: While Plotly is doing a good job here, these controls are not what most the ...
Mikko Ohtamaa's user avatar
0 votes
0 answers
456 views

Is there any way to apply something like text-overflow: ellipsis to plotly table cell? I want to able to cut the word if its not fit in the cell. Code: const dbTableData = [ { type: '...
Jantoma21's user avatar
  • 495
0 votes
0 answers
402 views

I have a graph that renders some geometric configuration. And I would like all values (ticks) on the x-axis to be positive, even if the point values are negative. How can I achieve this? My current ...
Yuriy Mayorov's user avatar
0 votes
1 answer
203 views

Is there a way to rotate the ellipse in PlotlyJS? To draw a circle/ellipse in Plotly, you define the center and the radii in the positive and negative x and y directions. Is there a way to define an ...
Mohamed Yehia's user avatar
0 votes
0 answers
73 views

I'm trying to plot a curve across discrete point with given (x, y) value. The red line is what I can plot at the moment. Actually, the blue line is what I want to plot. How can I plot a curve instead ...
Lê Huy Thanh's user avatar
0 votes
0 answers
242 views

When using a Plotly range slider, there are usually two plots : the normal plot on top + a small secondary plot on bottom where actually is the range slider: How to have a range-slider on the main ...
Basj's user avatar
  • 47.5k
1 vote
0 answers
152 views

I'm testing plotly.js 2D Histogram contour to show the pressures of a foot, but it changes a lot the shape and it doesn't look like a foot pressure. There is the Codepen to test it, as you can see ...
Sebas Bejenaru's user avatar
2 votes
1 answer
737 views

I'm trying to plot an image/heatmap with a slider that will change the opacity (of the heatmap), and a second slider that will modify a custom parameter on each "onchange" event. Once this ...
Basj's user avatar
  • 47.5k
1 vote
0 answers
43 views

I have thousands of different timestamp and value record and it is not possible to fetch all of them and show in the time series graph. Is there a way to fetch data when user move the graph to the ...
Jantoma21's user avatar
  • 495
0 votes
0 answers
59 views

I think I have found a possible bug in Plotly by Akevelon of Power bi. The thing is that I have made a boxplot in power bi using the component I mentioned above and I get very different metrics than ...
Nosequinposar Tampoc's user avatar
0 votes
1 answer
2k views

I am trying to update the chart with plotly.js with data from a server. My function should plot updated data in the charts every time new data is sent. I have two different graphs in my chart. Both ...
zajsky's user avatar
  • 11
1 vote
1 answer
662 views

Is there a way to create a continous slider with Plotly.js, with float values? All examples I have seen in https://plotly.com/javascript/sliders/ are with steps require a pre-computing of the traces ...
Basj's user avatar
  • 47.5k
0 votes
1 answer
1k views

The below react code renders a chart that is updated with additional data when a button is pressed. The count state is passed into the BarChart function as a prop. However, the chart does not ...
Nickpick's user avatar
  • 6,667
1 vote
1 answer
323 views

I'm trying to wrap the Plotly.js React component inside Web Components. After mounting the plotly.js React component, the 2D plot is divided into two separatedmain-svgs, one for data and one for ...
Av-'s user avatar
  • 13
0 votes
0 answers
36 views

In plotly, how to plot a bar graph with x axis range dates I want in xaxis - startDate, endDate and in yaxis - requestCount [ { "startDate": 1666255095626, "endDate": ...
Abdul K Shahid's user avatar
1 vote
1 answer
515 views

Is there a way to get Plotly not to truncate data labels? In the example below, the data values for the topmost series are getting truncated. If I explicitly set "yaxis": { "range&...
prototype's user avatar
  • 8,195
1 vote
0 answers
97 views

This is what my bar graph looks like: And below is the shapes dict I am using inside the larger layout object: this.sla_model = 60 // This is some arbitrary value that changes over time. ...
ScipioAfricanus's user avatar
2 votes
0 answers
528 views

I'm using plotly.js to create interactive plots and want to be able to export the plots as an html file, so the charts can be shared between users. I don't want these plots to be downloaded as static ...
AnonymousVanRabbit's user avatar
1 vote
0 answers
544 views

I am trying to update a whole bar chart using Plotly React. First I have a bar chart with bars on vertical, then after I click wherever on the chart I would like to rotate the chart 90 degrees and ...
GeorgeEDW's user avatar
1 vote
1 answer
292 views

I followed this https://plotly.com/javascript/3d-scatter-plots/ to create this: However, I want to create something similar to this: Which I made in python matplotlib. I just want to make the density ...
Tario You's user avatar
  • 362
2 votes
2 answers
1k views

I am working with Plotly.js in a space where i need to dynamically change the data loaded in a plot. The approach I took was to re-plot the plot div with new data that would be taken from a json. The ...
Kival M's user avatar
  • 192
1 vote
1 answer
455 views

I am using plotly.js in [email protected] project with [email protected], which I installed by following command: npm install plotly.js-dist-min npm install @types/plotly.js-dist-min I write codes in Visual ...
user10680480's user avatar
3 votes
1 answer
984 views

My current code: const donutData = [ { values: [2, 98], labels: ['', ''], sort: false, marker: { colors: ['#0099cc', '#535353'], }, name: '', hoverinfo: 'none', ...
Jantoma21's user avatar
  • 495
1 vote
0 answers
126 views

I'm just beginning to learn F# and I was wondering how to attach a click event handler to a particular candlestick rendered using the plotly.NET library at https://plotly.net/07_1_candlestick.html ...
siralbert's user avatar
1 vote
0 answers
708 views

I want to make this charts edges rounded, how can I do that? I've tried: border-radius: 100%; stroke-linejoin: round; stroke-linecap:round; none of them worked. If I give stroke-width: 1, it become ...
Jantoma21's user avatar
  • 495
2 votes
1 answer
2k views

I have been using plotly to make some standalone interactive plots that I can share and allow others to play with data. I switched which version of the standalone .js file I use (that each html file ...
user2731076's user avatar
1 vote
1 answer
240 views

I'm trying to plot a random walk in Pluto after following a Julia tutorial but I'm getting a very thin graph (the height is very small). The code I'm running is Plot(walk, Layout(yaxis_range=[-20,20],...
Bhargavi Dameracharla's user avatar
8 votes
1 answer
814 views

I am implementing Histogram chart using react-plotlyjs. Graph is implemented but I have to draw the normal distribution curve using X and Y axis. I have the X axis but Y axis is automatically ...
Vikash Dhiman's user avatar
0 votes
1 answer
833 views

Is it possible to get the hover info to be on the axis itself? I see an example in python plotly but cannot get it to work with javascript. In the image it's the "1977" black hover label. ...
Tommy J's user avatar
  • 441
0 votes
0 answers
40 views

I want to add option where user can select different column and different graph ( line, bar, scatter etc) selection option. Similar to below image - One option is I create a custom selection option. ...
user2129623's user avatar
  • 2,259
0 votes
1 answer
18 views

I need to transform an object array with data in another object array in order to plot a chart with the library Plotly. This is the input format: var input = [ { "COUNT_DEVICES": ...
Ismael Sotelo's user avatar
1 vote
1 answer
1k views

I managed to have a look at different plotly packages and found out that the angular-plotly pacakge is not really updated anymore. I chose to include the plotly library by downloading the plotly.min....
Tabea's user avatar
  • 113
2 votes
1 answer
741 views

I would like to render this heatmap without any grid lines in Plotly.js. I would like to still show tick marks at the bottom and side though (so probably not visible: false, right?). Thanks for any ...
chaimp's user avatar
  • 18.1k
1 vote
1 answer
457 views

I want to make step chart has curved line using plotly.js. The difference between the connecting parts is felt differently depending on the size of the currently different numerical value. The ...
Agnese's user avatar
  • 45
0 votes
1 answer
814 views

I have the following sample dataframe matrix below which I generated using some functions I created: Loan_ID Gender Married Dependents Education Loan_ID 1.000 NaN ...
JA-pythonista's user avatar
4 votes
0 answers
193 views

I'm using Flattenjs and Plotly to display polygons. The user can draw polygons anywhere with plotly. If the user draws polygons that are overlapping I want the ability to "merge" those ...
LCIII's user avatar
  • 3,804

1 2 3
4
5
14