AbhinavKartrocket / charts4j

Automatically exported from code.google.com/p/charts4j
Other
0 stars 0 forks source link

chart.toURLString() does not encode & in labels #33

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I have a code like this:
slices.add(Slice.newSlice(percent, Color.black, "A&B"));
PieChart chart = GCharts.newPieChart(slices);
img.setUrl(chart.toURLString());

What is the expected output? What do you see instead?
"A&B" slice

"A" slice is created instead

What version of the product are you using? On what operating system?
charts4j-gwt-1.2

Please provide any additional information below.

Original issue reported on code.google.com by tim.lebe...@gmail.com on 7 Jun 2009 at 12:34