Is there a way to dynamically adjust the marginTop based on the current window height?
For example:
$scope.chartConfig = {
options: {
chart: {
type: 'solidgauge',
// set to -50 if window height is 700px...
// set to -20 if window height is 500px...
marginTop: -50
}
}
}