Closed
Description
What problem does this feature solve?
spec 如下:
const spec = {
crosshair: {
trigger: 'click',
gridZIndex: 401,
labelZIndex: 501,
xField: {
visible: true,
bindingAxesIndex: [0],
line: {
visible: true,
type: 'line',
style: {
opacity: 1,
lineDash: [2, 2],
lineWidth: 1,
stroke: '#193D7A'
}
},
label: {
labelBackground: {
style: {
fill: '#193D7A',
outerBorder: {
stroke: '#193D7A'
}
}
},
visible: true
}
},
yField: {
bindingAxesIndex: [1],
visible: true,
line: {
visible: true,
type: 'line',
style: {
opacity: 1,
lineDash: [2, 2],
lineWidth: 1,
stroke: '#193D7A'
}
},
label: {
labelBackground: {
style: {
fill: '#193D7A',
outerBorder: {
stroke: '#193D7A'
}
}
},
visible: true
}
}
}
};
What does the proposed API look like?
{
clickTimer?: number;
}