Hi,

I am using google charts and my x-axis labels need to be positioned unevenly. So what is the equivalent to 'chxp' which I can use in my module?

Thanks

Comments

kabslock’s picture

Title: Axis label position in Google Chart API » Axis label position and shape markers in Google Chart API

Ok, I figured out the axis label position. It is set using :
chart_mixed_axis_label($label,$position);

When I try to define

'#shape_markers' => chart_shape_marker(CHART_MARKER_CROSS,'cc0000'),

in the chart array, I get a warning saying :

warning: implode() [function.implode]: Invalid arguments passed in ...\modules\chart-6.x-1.3\chart\chart.module on line 576.

Any suggestions?

rsevero’s picture

Assigned: Unassigned » rsevero

I believe you are confusing two different charting solutions for Drupal:

To set the 'chxp' Google Charts setting in Charts and Graphs module please take a look at 'arbitraty settings' in the advanced help pages for Charts and Graphs.

I believe 'chart_shape_marker' might be related to Chart API.

kabslock’s picture

Thank you for your reply.

Chart, Charts, Charts and Graphs...are confusing.

'chart_shape_marker' is indeed related to Chart API. I will raise the issue there.

rsevero’s picture

Status: Active » Closed (cannot reproduce)

Closing.