DhavalSPatel / googlechartwrapper

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

Common errors #19

Open GoogleCodeExporter opened 9 years ago

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

I identify two problems.

1.
Can't add two independed data lines to line chart.
See LineChartDataAppender on line 169 and replace comma by pipe.
Probles is solved.

2.
Issue is with encoding char title or legend labels. There is a problem with
spaces. Solution is to replace space with + (by google rules).

Original issue reported on code.google.com by idr...@gmail.com on 25 Apr 2010 at 12:32

GoogleCodeExporter commented 9 years ago
Hi

is it possible that you use an ancient version?

both problems does not exist in the current jar and code

for the first issue i found
if (u < this.data.size() - 1) {
        style.append("|");
    }

and the second 

this.title = title.replaceAll(" ", "+");

Original comment by steffan....@outlook.com on 2 May 2010 at 4:59

GoogleCodeExporter commented 9 years ago
I am sorry. 

It's a line 197 at LineChartDataAppender.java.

I download jar from this URL
http://googlechartwrapper.googlecode.com/files/googlechartwrapper_1.0.jar.

Original comment by idr...@gmail.com on 2 May 2010 at 6:44

GoogleCodeExporter commented 9 years ago
I think we already found a solution (another user reported the same and wrote a 
patch)

please post the code that produces the problem and/or check the trunk to 
evaluate if 
it is already done

Original comment by steffan....@outlook.com on 3 May 2010 at 8:08