vimalraj2it / charts4j

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

LegendPosition lack of functionality: vertical layout is missing for botton and top position #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a PieChart
2. Try to setLegendPosition to top with vertical layout (it's not possible)

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

I would expect to generate a pie chart like this one: (1). This graph uses the 
documented <position> feature of google charts (2). The value is set to 'tv'. 
But charts4j only provides LegendPosition.TOP without the verttical layout 
variant. With that limitation the above chart (1) cannot be reproduced. The 
best possible result whoud be (3).

Another a feature that is missing on charts4j-1.2 API is <label_order> (also 
documented under (2)).

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

charts4j-1.2

Please provide any additional information below.

1 - 
http://chart.apis.google.com/chart?cht=p&chdlp=tv&chs=250x250&chd=e:R7NcKPI9FIFI
DN&chl=27%2C91|20%2C93|16%2C28|13%2C95|8%2C14|8%2C14|4%2C65&chdl=Eletrodom%C3%A9
sticos|Eletr%C3%B4nicos|Utens%C3%ADlios+Dom%C3%A9sticos|Brinquedos|Inform%C3%A1t
ica|M%C3%B3veis+e+Decora%C3%A7%C3%A3o|%3F%3F%3F_Others_%3F%3F%3F

2 - 
http://code.google.com/intl/pt-BR/apis/chart/docs/gallery/pie_charts.html#gchart
s_legend

3 - 
http://chart.apis.google.com/chart?cht=p&chdlp=t&chs=250x250&chd=e:R7NcKPI9FIFID
N&chl=27%2C91|20%2C93|16%2C28|13%2C95|8%2C14|8%2C14|4%2C65&chdl=Eletrodom%C3%A9s
ticos|Eletr%C3%B4nicos|Utens%C3%ADlios+Dom%C3%A9sticos|Brinquedos|Inform%C3%A1ti
ca|M%C3%B3veis+e+Decora%C3%A7%C3%A3o|%3F%3F%3F_Others_%3F%3F%3F

Original issue reported on code.google.com by miguelrs...@gmail.com on 5 Nov 2010 at 6:50

GoogleCodeExporter commented 8 years ago

Original comment by Julien.C...@gmail.com on 5 Jan 2011 at 6:10