You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first I thought percentFormat/percentNumberFormat, but then the feature is only trigger via "normalize" stack and technically users don't really need to do % as the formatter, so config.normalizedNumberFormat might best match what the feature is for.
For normalized stacked charts (like bar), we automatically generate tooltips that calculates ratio / %.
However, we haven't applied any % formatting to this % tooltip yet.
We should
config.normalizedNumberFormat
(orpercentFormat
or sth) for setting formatter for this % tooltipconfig.normalizedNumberFormatType
so thisconfig.normalizedNumberFormat
has its own format type.config.normalizedNumberFormat
(defaultConfig
inconfig.ts
) --- probably to.2%
?For testing, perhaps:
stacked_bar_normalize.vl.json
to includetooltip: true
in mark to test the default formatand
stacked_bar_normalize_custom_format.vl.json
to test customized format in the config.The text was updated successfully, but these errors were encountered: