mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix: no-mixed-spaces-and-tabs
``` /Users/1ambda/github/apache/apache-zeppelin/zeppelin-master/zeppelin-web/src/app/visualization/builtins/visualization-piechart.js (3/0) ✖ 79:2 Mixed spaces and tabs no-mixed-spaces-and-tabs ✖ 80:2 Mixed spaces and tabs no-mixed-spaces-and-tabs ✖ 81:2 Mixed spaces and tabs no-mixed-spaces-and-tabs ```
This commit is contained in:
parent
8d5a3d9dfb
commit
3abfc7c3f3
2 changed files with 3 additions and 4 deletions
|
|
@ -31,7 +31,6 @@
|
|||
"process": false
|
||||
},
|
||||
"rules": {
|
||||
"no-mixed-spaces-and-tabs": 0,
|
||||
"semi-spacing": 0,
|
||||
"no-tabs": 0,
|
||||
"no-extra-boolean-cast": 0,
|
||||
|
|
|
|||
|
|
@ -76,8 +76,8 @@ export default class PiechartVisualization extends Nvd3ChartVisualization {
|
|||
|
||||
configureChart(chart) {
|
||||
chart.x(function(d) { return d.label;})
|
||||
.y(function(d) { return d.value;})
|
||||
.showLabels(false)
|
||||
.showTooltipPercent(true);
|
||||
.y(function(d) { return d.value;})
|
||||
.showLabels(false)
|
||||
.showTooltipPercent(true);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue