Skip to content

Commit

Permalink
fix: skip plot AlternativeRadars elements for csv case (thoughtworks#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
haolong7 authored and SARAN-thala committed Dec 17, 2019
1 parent f5163bd commit fb932f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/graphing/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,9 @@ const Radar = function (size, radar) {
currentSheet = radar.getCurrentSheet()
var header = plotRadarHeader()

plotAlternativeRadars(alternatives, currentSheet)
if (alternatives.length) {
plotAlternativeRadars(alternatives, currentSheet)
}

plotQuadrantButtons(quadrants, header)

Expand Down

0 comments on commit fb932f3

Please sign in to comment.