Currently there are very few configuration options available for the end user while creating a Google Chart using the Chart Views. I had made some modifications as attached which would allow the user to create Legends for the fields which he displays in the Charts.
Whether or not to append a Legend Box to the chart and its position (Top, Bottom, etc.) can be configured by the user in the Settings.

Comments

maulik.kamdar’s picture

StatusFileSize
new3.07 KB

Hello,

I had modified the patch a little for a cleaner Settings form.

13rac1’s picture

This has patch has been applied to a new temporary branch named 7.x-1.x-mk. Please clone and test. Can you update your other patches to work against this branch? They currently won't apply cleanly.

I'm going to apply all your new features to this branch. Once everything works, I'll updated 7.x-1.x. This way we can work everything out without disturbing the dev release users.

To clone:
git clone --branch 7.x-1.x-mk http://git.drupal.org/project/chart.git

pol’s picture

What is the difference between the chl parameter and chdl ?

I think we should disable chl if we have chdl. What do you think ?

maulik.kamdar’s picture

Hi Pol,

Actually the chl parameter is used for Pie Chart Labels and is very specific to it. Whereas on the other hand, chdl is generic. I dont think that chdl works in Pie Charts (not yet considered the case)
So I have left the chl parameter untouched.

Thanks

Pierre.Vriens’s picture

Issue summary: View changes
Parent issue: » #2371075: Chart 7.x-2.x Release