Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. /**
  2. * Alter an individual chart before it is printed.
  3. *
  4. * @param $chart
  5. * The chart renderable. Passed in by reference.
  6. * @param $chart_id
  7. * The chart identifier, pulled from the $chart['#chart_id'] property (if
  8. * any). Not all charts have a chart identifier.
  9. */
  10. function hook_chart_alter(&$chart, $chart_id) {
  11. if ($chart_id === 'view_name__display_name') {
  12. // Individual properties may be modified.
  13. $chart['#title_font_size'] = 20;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement