I have added functionality to allow the legend position to be changed using the chdlp parameter.

position can be set using:
$canvas->label_pos = "top";
and can be set to any of: "top","bottom","left","right","top_vert","bottom_vert".

I don't know if this functionailty is available on other apis yet. But a consistent naming convention for this parameter is likely needed.

Comments

bverc’s picture

Status: Patch (to be ported) » Needs review
StatusFileSize
new1.75 KB

Resubmitting patch using drupal patch guidelines.

rsevero’s picture

Thanks for your patch.

I'm trying to always implement new features in all charting libraries at the same time. This way the new interface gets tested in all libraries at the same time.

For single library features there already is arbitrary options support in Charts and Graphs since version 6.x-2.0-beta1. Please take a look at the "Arbitrary settings" sections in each charting library Advanced Help page for details.

rsevero’s picture

Status: Needs review » Postponed
rsevero’s picture

Assigned: Unassigned » rsevero
Status: Postponed » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.