For example, in the image below I have data on Theranos which is the investors, rounds, etc and the amounts raised. In order to apply rule-based styling to have the node size be the size of investment so they are an int
. Just showing the int
value doesn't look good and I would rather it look like "$34,850,000". Currently there is no way to apply label styling to have it look at a property and say "Display As: Currency".
-Add Advanced labeling section where users could enter in JavaScript (or other formatting code) and format however they like. This would be beneficial if users want to combine multiple properties into one label
Example using JS formatter
// Create our number formatter.
var formatter = new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
});