Changes binary operation
This commit is contained in:
parent
2e1287e746
commit
f131b60759
|
@ -179,8 +179,8 @@ export class CdfChartD3 {
|
||||||
const dataPoints = [this.getDataPoints('continuous')];
|
const dataPoints = [this.getDataPoints('continuous')];
|
||||||
|
|
||||||
// Boundaries.
|
// Boundaries.
|
||||||
const xMin = this.attrs.minX || d3.min(this.attrs.data.continuous.xs) | d3.min(this.attrs.data.discrete.xs);
|
const xMin = this.attrs.minX || d3.min(this.attrs.data.continuous.xs) || d3.min(this.attrs.data.discrete.xs);
|
||||||
const xMax = this.attrs.maxX || d3.max(this.attrs.data.continuous.xs) | d3.max(this.attrs.data.discrete.xs);
|
const xMax = this.attrs.maxX || d3.max(this.attrs.data.continuous.xs) || d3.max(this.attrs.data.discrete.xs);
|
||||||
const yMin = d3.min(this.attrs.data.continuous.ys);
|
const yMin = d3.min(this.attrs.data.continuous.ys);
|
||||||
const yMax = d3.max(this.attrs.data.continuous.ys);
|
const yMax = d3.max(this.attrs.data.continuous.ys);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user