Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
screenshot_charts.png | 12.19 KB | Nimo |
Comments
Comment #1
akin.demirci CreditAttribution: akin.demirci commentedI 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.
Comment #2
gtothab CreditAttribution: gtothab commented@akno
Thank you that helped me a lot. Fixed the markup in the jpgs problem.
Cheers,