plotly.js Questions

2

After a long search, I could not find any thread/discussion helping me to make autoscaling work with plotly. The idea would be that when I use the x-range slider to go through the data, the y-axis ...
Rhine asked 29/3, 2023 at 11:12

4

Solved

I have attempted to make a plotly chart that fits within a scrollable parent div: data = { Name: {0:'name1', 1:'name2', 2: 'name3', 3:'n4',4:'ewf',5:'dgag', 6:'faf', 7:'dfss', 8:'345',9...
Cranford asked 2/3, 2020 at 14:12

2

Solved

When I hover over a stacked line chart, it shows zeroes for all lines not in range. Is there a way to hide these values rather than adding noise to the hover tool? Minimal Example Plotly.newPlot('t...
Malkamalkah asked 13/4, 2021 at 15:17

2

Solved

On a Plotly heatmap, sometimes it's useful to have 2 select modes: rectangle selection (already available in the modbar) selection/pinning of a single pixel: I'm trying to do it by recycling the ...
Inflow asked 17/8, 2023 at 15:23

2

I have implemented a scatterplot using react-plotly.js I would like the chart to re-size itself when the page layout changes. But currently, the layout of the chart doesn't change by itself. If I e...
Adan asked 8/5, 2019 at 21:43

3

Solved

I have a react app which generates images on the front end dynamically using Plotly.js. I'd like to add image sharing functionality. I am trying to use react-share for this. Social platforms requir...
Calculating asked 16/11, 2021 at 21:43

1

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 calcu...
Early asked 13/9, 2022 at 14:48

2

Solved

I am trying to plot stock data, but there are gaps in the graph where data for these time periods don't exist. How do I remove these gaps? I found that there is an update_xaxes function but I'm not...
Unipolar asked 15/4, 2022 at 6:4

2

Solved

I've used a plotly.js parcats chart to make a sequential sankey (eg https://github.com/EE2dev/sequence-explorer). Here are the example parcats that shows changes in grades between quizzes: var trac...
Transistor asked 11/6, 2021 at 9:16

1

Solved

Is it possible to update the x and y properties of a trace using Plotly.update()? Updating the marker.color property of the trace works well. But when I try updating the x or y properties the tra...
Brume asked 14/3, 2020 at 0:8

2

Solved

How to add padding on the left and right sides of the line/area chart? Here's how my chart looks like: and this is how it should look like (the padding/margin part):
Wolfsbane asked 28/10, 2019 at 15:8

1

There are two packages plotly.js and plotly.js-dist. What is the difference between them and which one should I use? Moreover on npmjs.org on plotly.js page it says in order to install plotly.js ...
Swingle asked 15/1, 2019 at 13:46

1

Solved

I am trying to format my Plotly Bar Chart x-axis to percentages with 3 decimal points. import chart_studio.plotly as py #for plotting import plotly.graph_objs as go y = ['niner', 'deuce', 'chec...
Courlan asked 19/8, 2019 at 18:6

1

Solved

I'm trying to create a chart like the one in this image using Plotly.js: It's a grouped boxplot (by sites, currently only one) with two y axes. I've managed to create two versions, both of which...
Narrative asked 31/5, 2019 at 15:7

1

Solved

How can "plot bands", or shaded areas in a chart, be added to a plotly-js chart? Something looking like this picture: (Which comes from a different product: Highcharts) Specifically, I would wa...
Unoccupied asked 7/3, 2019 at 2:26

1

Solved

I have a scatter plot as shown below with code. How do I make the title area not take up this much space? Just to be clear, I don't mean the font size of the title, but the empty space the title ar...
Decca asked 23/2, 2019 at 19:42

1

I'd like to add a unit to the y-axis tick labels in plotly.js. How might I do this? Adding a ticktext and tickval property for yaxis layout doesn't seem to have the effect I thought, as it does wit...
Vitale asked 21/5, 2018 at 22:38

1

Solved

I want to plot a vector field in Julia. I could not find an example here. Here there are some examples using plotly, however, they do not work for me. I would like to plot the vector field by plotl...
Bubo asked 22/7, 2018 at 15:20

2

Solved

Plotly.js allows you to specify a graph title, but there doesn't seem to be an option for specifying a longer description to be shown on hovering over the title. So, I added a title attribute to t...
Osteopath asked 7/6, 2018 at 19:17

1

Solved

I am building a simple landing page which includes a 3d scatterplot graphic from plotly, nevertheless the minified library weights 3MB, way too big for a mobile landing page. In this closed featur...
Percuss asked 24/5, 2018 at 14:12

1

Solved

I am using Plotly.js for plots on my website. I can't for the life of me figure out how to change the background color to anything besides white. Can that be done, or am I just missing something? S...
Materialist asked 15/2, 2018 at 0:38

1

Solved

I'm recreating the example choropleth and trying to add a slider that, when dragged, would change from year to year. Another user asked a similar question but they didn't receive a reply. I did som...
Goolsby asked 16/10, 2017 at 18:42
1

© 2022 - 2024 — McMap. All rights reserved.