forked from DevExpress/DevExtreme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.component.html
More file actions
29 lines (29 loc) · 1.01 KB
/
app.component.html
File metadata and controls
29 lines (29 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div id="chart-demo">
<dx-chart [dataSource]="monthWeather" [customizePoint]="customizePoint">
<dxo-chart-title
text="Temperature in Seattle: October 2025"
></dxo-chart-title>
<dxo-chart-size [height]="420"></dxo-chart-size>
<dxi-chart-series
argumentField="day"
valueField="t"
type="bar"
></dxi-chart-series>
<dxo-chart-legend [visible]="false"></dxo-chart-legend>
<dxo-chart-export [enabled]="true"></dxo-chart-export>
<dxi-chart-value-axis>
<dxo-chart-label [customizeText]="customizeText"></dxo-chart-label>
</dxi-chart-value-axis>
<dxo-chart-loading-indicator [enabled]="true"></dxo-chart-loading-indicator>
</dx-chart>
<div class="action">
<div class="label">Choose a temperature threshold, °C: </div>
<dx-select-box
id="choose-temperature"
[dataSource]="temperature"
[value]="2"
(onValueChanged)="onValueChanged($event)"
[inputAttr]="{ 'aria-label': 'Temperature' }"
></dx-select-box>
</div>
</div>