AbhinavKartrocket / googlechartwrapper

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

No way to specify line axis #23

Open GoogleCodeExporter opened 8 years ago

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

See attached code RenderSparkChart.java

As the library currently stands, you'll need to comment out the lines on the 
axis style that set line styles. 

This produces a URL that when rendered contains axis lines.

What is the expected output? What do you see instead?

Current:

http://chart.apis.google.com/chart?cht=lxy&chs=70x40&chco=0077cc&chd=e:DWGuKHNgQ
5USXrbEech1lOonsAvZyx2K5j88..,9cj.WCWbtapctvjSmRmR2fvtagz78MhOejoG8o&chf=bg,s,ff
ffff00&chls=1.0,0.0,0.0&chxl=0:||1:|&chxs=0,000000,1,0,lt|1,000000,1,0,lt&chxt=x
,y

Expected:

http://chart.apis.google.com/chart?cht=lxy&chs=70x40&chco=0077cc&chd=e:DWGuKHNgQ
5USXrbEech1lOonsAvZyx2K5j88..,9cj.WCWbtapctvjSmRmR2fvtagz78MhOejoG8o&chf=bg,s,ff
ffff00&chls=1.0,0.0,0.0&chxl=0:||1:|&chxs=0,000000,1,0,_|1,000000,1,0,_&chxt=x,y

What version of the product are you using? On what operating system?

revision 189.

Please provide any additional information below.

A patch has been attached to allow specification of line style which when used 
with RenderSparkChart will produce the expected spark chart.

(I'm sure this used to be available at some point in the past!)

Original issue reported on code.google.com by chris.lo...@gmail.com on 13 Feb 2011 at 12:17

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by steffan....@outlook.com on 15 Feb 2011 at 9:34

GoogleCodeExporter commented 8 years ago

Original comment by steffan....@outlook.com on 15 Feb 2011 at 9:34