Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Heatmap shrinks to 1" square on mobile phone

$
0
0

@r123456789 wrote:

A Highcharts heatmap occasionally (e.g. every 7 to 10 times the tab is entered) shrinks to a 1" square in the upper left corner. The chart is in a ion-tab.

If the phone is positioned to a landscape mode from the original portrait mode the heatmap is now drawn correctly. Then continues to be drawn properly in either mode until once again when the heatmap tab is entered it shrinks to a 1" square.

What call can be made (similar to the call made when the phone is moved to a landscape position) for a workaround to this bug? The issue does not occur when the app is run in the web browser.

HTML:




...

CSS:
.heatmap {
height: 100%;
width: 100%;
position:absolute;
}

JS:
$scope.graphDraw= function () {
try {
$scope.heatmap = $scope.servers.heatmapLevelsDefinition();
catch (e) {
$log.debug('ERROR: Heatmap graph draw: ' + e); } // no error is ever reported in the catch clause
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>