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,
|
||||
regionFill: this.lineOptions.regionFill,
|
||||
spline: this.lineOptions.spline,
|
||||
hideDots: this.lineOptions.hideDots,
|
||||
showDots: this.lineOptions.showDots,
|
||||
hideLine: this.lineOptions.hideLine,
|
||||
|
||||
// same for all datasets
|
||||
|
||||
@ -383,7 +383,7 @@ let componentConfigs = {
|
||||
}
|
||||
|
||||
this.units = [];
|
||||
if(!c.hideDots) {
|
||||
if(c.showDots) {
|
||||
this.units = data.yPositions.map((y, j) => {
|
||||
return datasetDot(
|
||||
data.xPositions[j],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user