Radar chart does not display correctly on redash #6189
Unanswered
qq20230530
asked this question in
Q&A
Replies: 3 comments 9 replies
-
Maybe you should change |
Beta Was this translation helpful? Give feedback.
0 replies
-
I also tried to draw a radar chart, it may be a version problem of plotlyjs, it has been unable to draw normally. |
Beta Was this translation helpful? Give feedback.
3 replies
-
I guess it may be caused by the version of our plotlyjs being too low. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Found an example on codepen:
https://codepen.io/etpinard/pen/aPXozx?editors=1010
Copied this to redash, but radar chart looks strange, what might be the reason?
Custom code:
Plotly.newPlot(
element,
[
{
type: "scatterpolar",
r: [39, 28, 8, 7, 28, 39],
theta: ["A", "B", "C", "D", "E", "A"],
fill: "toself",
name: "Group A"
},
{
type: "scatterpolar",
r: [1.5, 10, 39, 31, 15, 1.5],
theta: ["A", "B", "C", "D", "E", "A"],
fill: "toself",
name: "Group B"
}
],
{
polar: {
radialaxis: {
visible: true,
range: [0, 50]
}
},
showlegend: false
}
);
Displayed radar chart:
Beta Was this translation helpful? Give feedback.
All reactions