How can you get a comma in a label? Even when written as a HTML entity, Open Flash Chart interprets it as a separator! At least in the $labels parameter for pie_values().
Super simple question, I almost feel stupid for asking, but I can't get it to work.
Comments
Comment #1
redndahead commentedaww crap I thought html encoding would work. Just to verify you are using %2C right?
Comment #2
wim leersYes I am :)
Comment #3
okaalto commentedIt seems that OFC 1 bar charts accept commas in links (and labels?), if commas are encoded to #comma#
Unfortunately, this does not apply to pie charts. I came up with this when trying to set links to charts pointing to taxonomy terms,
e.g. taxonomy/term/1,2,3
When setting the links I would use: taxonomy/term/1#comma#2#comma#3
However, since this does not work with pie charts, I ended up with using own encoding of commas in links combined with argument handling code in taxonomy term view to decode back to commas.
Comment #4
wim leers