kmorpain
Forum Replies Created
-
I just found out it’s because one word of my label is too long because if I use a smaller one, I can make it on multiple lines.
Hi!
I had the same problem and figured it out: just write#'%.
As the ICU docs says:'Used to quote special characters in a prefix or suffix, for example,'#'#formats 123 to#123.Hi,
I don’t know if you resolve the problem yet, but I ran into the same bug and found out where the problem where.
In Render>Sidebar.php, in the function _renderFormatField :sprintf( esc_html__( 'Enter custom format pattern to apply to this series value, similar to the %1$sICU pattern set%1$s. Use something like #,### to get 1,234 as output, or $# to add dollar sign before digits. Pay attention that if you use % percentage format then your values will be multiplied by 100.', 'visualizer' ), '<a href="http://icu-project.org/apiref/icu4c/classDecimalFormat.html#_details" target="_blank">', '</a>' )There’s
%1$sICU pattern set%1$swhich adds the opening tag both times and never closes it. Just change the last%1$sby%2$sand everything goes back to normal.Hope it’ll help!