Skip to content

Commit

Permalink
Merge pull request #9 from llooker/tjbanghart/fixissues
Browse files Browse the repository at this point in the history
Remove options issue
  • Loading branch information
tjbanghart authored Sep 25, 2021
2 parents 7b14dc8 + ca6842a commit 9eaf44a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 20 deletions.
12 changes: 6 additions & 6 deletions histogram.js

Large diffs are not rendered by default.

18 changes: 4 additions & 14 deletions src/common/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,16 @@ export const baseOptions = {
section: " Values",
type: "string",
order: 2,
display: "radio",
display: "select",
values: [
{
"Max Bins": {
description: "Set a maximum number of bins",
value: "bins",
},
"Max Bins": "bins"
},
{
Steps: {
description:
"Set an exact step size to use between bins. Step sizes that would create more than 50 bins are ignored.",
value: "steps",
},
Steps: "steps"
},
{
Breakpoints: {
description: "An array of allowable step sizes to choose from.",
value: "breakpoints",
},
Breakpoints: "breakpoints"
},
],
default: "bins",
Expand Down
1 change: 1 addition & 0 deletions src/histogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@ looker.plugins.visualizations.add({

simpleHist(data, element, config, queryResponse, details, done, this, embed);
}
done();
},
});

0 comments on commit 9eaf44a

Please sign in to comment.