significant digits on hover value

This commit is contained in:
Conor Barnes 2022-08-24 13:57:35 -03:00
parent 10db239920
commit 865b01f48d

View File

@ -311,7 +311,7 @@ export function buildVegaSpec(
"align": {"value": "right"}
},
"update": {
"text": {"signal": "position_scaled ? position_scaled : ''", }
"text": {"signal": "position_scaled ? format(position_scaled, ',.4r') : ''", }
}
}
},