Make yMin=0 for discrete point y-axis on d3 chart
This commit is contained in:
parent
fa1bf75acc
commit
bc271a090b
|
@ -427,7 +427,7 @@ export class DistPlotD3 {
|
||||||
addLollipopsChart(common) {
|
addLollipopsChart(common) {
|
||||||
const data = this.getDataPoints('discrete');
|
const data = this.getDataPoints('discrete');
|
||||||
|
|
||||||
const yMin = d3.min(this.attrs.data.discrete.ys);
|
const yMin = 0.; //d3.min(this.attrs.data.discrete.ys);
|
||||||
const yMax = d3.max(this.attrs.data.discrete.ys);
|
const yMax = d3.max(this.attrs.data.discrete.ys);
|
||||||
|
|
||||||
// X axis.
|
// X axis.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user