You are here

function chart_mixed_axis_label_style in Google Chart Tools: Image Charts 6

Same name and namespace in other branches
  1. 5 chart.module \chart_mixed_axis_label_style()
  2. 7 chart.module \chart_mixed_axis_label_style()

Create a mixed axis for a corresponding label set index.

Parameters

int $index:

string $color:

int $font_size:

int $alignment:

Return value

array

File

./chart.module, line 965
Provides Google chart API integration.

Code

function chart_mixed_axis_label_style($index, $color, $font_size = 12, $alignment = CHART_ALIGN_CENTER) {
  return array(
    '#index' => $index,
    '#color' => $color,
    '#font_size' => $font_size,
    '#alignment' => $alignment,
  );
}