WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics Dashboard
graph is wider than widget - css fix (1 post)

  1. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 1 year ago #

    When the dashboard is set to two columns, at narrower widths (& always on an iPad) the chart graphic on the google analytic dashboard widget is wider than the widget so can look messy.

    As a workaround I changed line 73 of gad-admin-dashboard-ui.php to include a smidgen of inline css to make the image no more than 100% of its enclosing div and the height adjust automatically.

    <img width="450" height="200" style="max-width: 100%; height: auto;" src="<?php echo $this->ga_data->create_google_chart_url(450, 200); ?>"/>

    It might be useful if this could be included in the next update.

    http://wordpress.org/extend/plugins/google-analytics-dashboard/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.