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

  1. cubecolour
    Posted 3 years 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.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics Dashboard
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.