You are here

function chart_mixed_axis_label_style in Google Chart Tools: Image Charts 5

Same name and namespace in other branches
  1. 6 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 831
Google Charting API. Developed by Tj Holowaychuk

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,
  );
}