Skip to content

Commit

Permalink
Revert "Revert "add legend option to polar-area and radar chart (#657)…
Browse files Browse the repository at this point in the history
…" (#660)" (#661)

This reverts commit 3a5255e.
  • Loading branch information
dceejay authored Dec 27, 2020
1 parent 3a5255e commit 7b5a90b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nodes/ui_chart.html
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,16 @@
$("#legend-show").show();
$("#hole-size-show").show();
}
else if ($(this).val() === "polar-area") {
$("#y-axis-show").show();
$("#legend-show").show();
$("#hole-size-show").hide();
}
else if ($(this).val() === "radar") {
$("#y-axis-show").show();
$("#legend-show").show();
$("#hole-size-show").hide();
}
else {
$("#y-axis-show").show();
$("#hole-size-show").hide();
Expand Down

0 comments on commit 7b5a90b

Please sign in to comment.