Fix: make plotly charts have unbounded hoverlabel name length (#5661)

This commit is contained in:
Steven Hao 2022-01-19 10:17:27 -08:00 committed by GitHub
parent 965db26cab
commit 8ef9a1d398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 30 additions and 0 deletions

View File

@ -35,6 +35,9 @@
"type": "linear",
"autorange": true,
"range": null
},
"hoverlabel": {
"namelength": -1
}
}
}

View File

@ -47,6 +47,9 @@
"range": null,
"overlaying": "y",
"side": "right"
},
"hoverlabel": {
"namelength": -1
}
}
}

View File

@ -33,6 +33,9 @@
"type": "linear",
"autorange": true,
"range": null
},
"hoverlabel": {
"namelength": -1
}
}
}

View File

@ -45,6 +45,9 @@
"range": null,
"overlaying": "y",
"side": "right"
},
"hoverlabel": {
"namelength": -1
}
}
}

View File

@ -32,6 +32,9 @@
"type": "linear",
"autorange": true,
"range": null
},
"hoverlabel": {
"namelength": -1
}
}
}

View File

@ -31,6 +31,9 @@
"type": "linear",
"autorange": true,
"range": null
},
"hoverlabel": {
"namelength": -1
}
}
}

View File

@ -19,6 +19,9 @@
"legend": {
"traceorder": "normal"
},
"hoverlabel": {
"namelength": -1
},
"annotations": [
{
"x": 0.24,

View File

@ -19,6 +19,9 @@
"legend": {
"traceorder": "normal"
},
"hoverlabel": {
"namelength": -1
},
"annotations": []
}
}

View File

@ -19,6 +19,9 @@
"legend": {
"traceorder": "normal"
},
"hoverlabel": {
"namelength": -1
},
"annotations": [
{
"x": 0.49,

View File

@ -117,6 +117,9 @@ export default function prepareLayout(element: any, options: any, data: any) {
legend: {
traceorder: options.legend.traceorder,
},
hoverlabel: {
namelength: -1,
},
};
switch (options.globalSeriesType) {