feat: [breaking] hide dots by default
This commit is contained in:
parent
51a6ed33a5
commit
dc49b29d39
@ -299,7 +299,7 @@ export default class AxisChart extends BaseChart {
|
|||||||
heatline: this.lineOptions.heatline,
|
heatline: this.lineOptions.heatline,
|
||||||
regionFill: this.lineOptions.regionFill,
|
regionFill: this.lineOptions.regionFill,
|
||||||
spline: this.lineOptions.spline,
|
spline: this.lineOptions.spline,
|
||||||
hideDots: this.lineOptions.hideDots,
|
showDots: this.lineOptions.showDots,
|
||||||
hideLine: this.lineOptions.hideLine,
|
hideLine: this.lineOptions.hideLine,
|
||||||
|
|
||||||
// same for all datasets
|
// same for all datasets
|
||||||
|
|||||||
@ -383,7 +383,7 @@ let componentConfigs = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.units = [];
|
this.units = [];
|
||||||
if(!c.hideDots) {
|
if(c.showDots) {
|
||||||
this.units = data.yPositions.map((y, j) => {
|
this.units = data.yPositions.map((y, j) => {
|
||||||
return datasetDot(
|
return datasetDot(
|
||||||
data.xPositions[j],
|
data.xPositions[j],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user