Skip to content

Conversation

@michellethomas
Copy link
Contributor

This PR added a check for isXAxisString = ['dist_bar', 'box_plot'].includes(vizType) >= 0 but for a different viz type (like line) includes will evaluate to false and false >= 0 will evaluate to true (so the formatter was not getting set).

Changing to use indexOf.

@mistercrunch
Copy link
Member

Ooops LGTM

@coveralls
Copy link

coveralls commented Oct 27, 2017

Coverage Status

Coverage remained the same at 71.271% when pulling 913f5c3 on michellethomas:fix_nvd3_xaxis_formatter into cbd0107 on apache:master.

@mistercrunch mistercrunch merged commit 200b66d into apache:master Oct 27, 2017
@michellethomas michellethomas deleted the fix_nvd3_xaxis_formatter branch October 27, 2017 23:04
michellethomas added a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.5 First shipped in 0.20.5 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.20.5 First shipped in 0.20.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants