diff --git a/src/visits/GraphCard.js b/src/visits/GraphCard.js index 3a0e6ac1..acd40d5c 100644 --- a/src/visits/GraphCard.js +++ b/src/visits/GraphCard.js @@ -88,7 +88,7 @@ const renderGraph = (title, isBarChart, stats, max, highlightedStats, onClick) = }), }; const graphData = generateGraphData(title, isBarChart, labels, data, highlightedData); - const height = isBarChart && labels.length > 20 ? labels.length * 8 : null; + const height = isBarChart && labels.length > 20 ? labels.length * 8 : 200; // Provide a key based on the height, so that every time the dataset changes, a new graph is rendered return ( diff --git a/src/visits/ShortUrlVisits.js b/src/visits/ShortUrlVisits.js index 1a057279..0d279ae2 100644 --- a/src/visits/ShortUrlVisits.js +++ b/src/visits/ShortUrlVisits.js @@ -198,7 +198,7 @@ const ShortUrlVisits = ({ processStatsFromVisits, normalizeVisits }, OpenMapModa