I have a plotly chart which works fine until I try to zoom in. Than, the graph is overflowing beyond the “axes-borders” and I have no clue, why. Does anyone know a solution or has any idea how this happens?
If you need any further information, I will be happy to answer them! Thanks for your help
In the following, you can see the config and data, which I pass into Plotly.newPlot:
data:
[
{
"name": "Anzahl",
"hovertemplate": "(%{x:,.}, %{y:,.})<extra></extra>",
"x": [...],
"y": [...]
}
]
Layout:
{
"title": {
"text": "Anzahl gegen Z"
},
"hovermode": "closest",
"hoverlabel": {
"align": "left"
},
"xaxis": {
"title": {
"text": "Z"
},
"automargin": true,
"autorange": true,
"type": "linear",
"range": [
4.027140353805073,
13.06719375834446
]
},
"yaxis": {
"title": {
"text": "Anzahl"
},
"automargin": true,
"autorange": true,
"type": "linear",
"range": [
4.24706413730804,
6.439174947305029
]
},
"newshape": {
"line": {
"color": "#d62728"
}
},
"autosize": true
}