I have created a content type named "statistik" with two fields: Sum and a cck-field called Date.

With "Bluff" as charting engine things are showing up as expected, but when choosing "Google Charts" or "Open Flash Charts 2". ie: a chart engine which produce images or flash animation, there are HTML-tags visible in the X-axis - see the attached screenshot to get a picture of what I mean.

CommentFileSizeAuthor
screenshot_charts.png12.19 KBNimo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

akin.demirci’s picture

I had the same issue with Google Charts.
You have to override the date module's theme function that adds the tag around the date value in your own theme's template.php like this:

function YOURTHEMENAME_date_display_single($date, $timezone = NULL) {
return $date . $timezone;
}

Don't forget to flush the theme registry after adding the function.

gtothab’s picture

@akno

Thank you that helped me a lot. Fixed the markup in the jpgs problem.

Cheers,