1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
:host { display: -webkit-flex; display: -ms-flex; display: flex; margin: 0; padding: 0; width: 400px; height: 300px; } :host([type="gauge"]) { width: 300px; height: 300px; } #chartdiv { width: 100%; }