VueUiScatter
Added optional selectors showing on datapoint hover, displaying x, y and name. This can be an alternative to using the tooltip, or can be used in combination with it.
Added config attributes in config.style.layout.plots.selectors
:
selectors: {
show: boolean; // default: true
stroke: string; // default: "#2D353C"
strokeWidth: number; // default: 0.7
strokeDasharray: number; // default 0
labels: {
fontSize: number; // default: 12
color: string; // default: "#2D353C"
rounding: number; // default: 2
bold: boolean; // default: false
showName: boolean; // default: true
prefix: string; // default: ""
suffix: string; // default ""
},
markers: {
radius: number; // default: 1.5
stroke: string; // default: "#FFFFFF"
strokeWidth: number; // default: 0.5
fill: string; // default: "#2D353C"
}
}