devextreme-angular icon indicating copy to clipboard operation
devextreme-angular copied to clipboard

Bug Circular Gauge resize

Open EdoardoLenzi9 opened this issue 8 years ago • 0 comments

version: [email protected] [email protected] browser: Chrome last version [X] bug report [X] support

I have three circular gauges into bootstrap v4 columns; I notice that when the columns are shrunk and then resized to the initial size the gauges manifesting some resize problems. In the first step the columns overlap so the gauges correctly increase in size but when the window size returns large the gauges still maintaining the previously large-size.

1 2 3

Gauge Code

<dx-circular-gauge id="gauge" [value]="settings.value">
	<dxo-scale [startValue]="settings.minValue" [endValue]="settings.maxValue" [tickInterval]="settings.interval">
		<dxo-label [useRangeColors]="true"></dxo-label>
	</dxo-scale>
	<dxo-range-container palette="pastel">
		<dxi-range [startValue]="settings.minValue" [endValue]="minMiddleValue" color="#92000A"></dxi-range>
		<dxi-range [startValue]="minMiddleValue" [endValue]="maxMiddleValue" color="#E6E200"></dxi-range>
		<dxi-range [startValue]="maxMiddleValue" [endValue]="settings.maxValue" color="#77DD77"></dxi-range>
	</dxo-range-container>
	<dxo-title [text]="settings.title | translate">
		<dxo-font [size]="12"></dxo-font>
	</dxo-title>
</dx-circular-gauge>

Card Code

<div class="card-body">
	<div class="container mb-3">
		<div class="row  ">
			<div class="col">
				<app-gauge *ngIf="electricalEfficiencyGauge" [settings]="electricalEfficiencyGauge"></app-gauge>
			</div>
			<div class="col">
				<app-gauge *ngIf="fuelInputGauge" [settings]="fuelInputGauge"></app-gauge>
			</div>
			<div class="col">
				<app-gauge *ngIf="electricalOutputGauge" [settings]="electricalOutputGauge"></app-gauge>
			</div>
		</div>
	</div>
</div>

EdoardoLenzi9 avatar Apr 26 '18 07:04 EdoardoLenzi9