|
Fixed value:
Absolute temperature of the gas: K Volume of the gas: m³ Absolute pressure of the gas: Pa The value of the ideal gas constant, R: 8.314472 Number of moles of gas: 1 mol |
01 |
<?xml version="1.0" encoding="UTF-8"?> |
02 |
<anychart> |
03 |
<templates> |
04 |
<template name="linear"> |
05 |
<gauge> |
06 |
<linear_template name="base"> |
07 |
<axis> |
08 |
<scale minimum="0" maximum="104" major_interval="8" /> |
09 |
<labels enabled="true" align="Inside" padding="11"> |
10 |
<font /> |
11 |
</labels> |
12 |
</axis> |
13 |
<pointers editable="true"> |
14 |
<label enabled="true"> |
15 |
<position position_mode="ByAnchor" anchor="RightTop" halign="Right" valign="Center" padding="10" /> |
16 |
</label> |
17 |
</pointers> |
18 |
</linear_template> |
19 |
</gauge> |
20 |
</template> |
21 |
</templates> |
22 |
<gauges> |
23 |
<gauge template="linear" linear_default_template="base"> |
24 |
<chart_settings> |
25 |
<title> |
26 |
<text><![CDATA[Ideal gas law]]></text> |
27 |
</title> |
28 |
<subtitle enabled="true" align="near"> |
29 |
<text><![CDATA[The ideal gas law is the equation of state of a hypothetical ideal gas, first stated by |
30 |
Benoit Paul Emile Clapeyron in 1834.]]></text> |
31 |
<background enabled="false" /> |
32 |
<font bold="false" /> |
33 |
</subtitle> |
34 |
</chart_settings> |
35 |
<linear name="temperature" x="0" y="0" height="100" width="33"> |
36 |
<axis> |
37 |
<scale minimum="0" maximum="104" major_interval="8" /> |
38 |
<labels> |
39 |
<format><![CDATA[{%Value}{numDecimals:0}° K]]></format> |
40 |
</labels> |
41 |
</axis> |
42 |
<pointers> |
43 |
<pointer type="Thermometer" value="9" color="Red" name="temperaturePointer" /> |
44 |
</pointers> |
45 |
</linear> |
46 |
<linear name="Volume" x="33" y="0" width="33" height="100" orientation="Vertical"> |
47 |
<axis> |
48 |
<scale minimum="0" maximum="110" /> |
49 |
<labels> |
50 |
<format><![CDATA[{%Value}{numDecimals:0} m³]]></format> |
51 |
</labels> |
52 |
</axis> |
53 |
<pointers> |
54 |
<pointer type="Bar" value="4.3" name="volumePointer" color="#2AD62A" /> |
55 |
</pointers> |
56 |
</linear> |
57 |
<linear name="Pressure" x="66" y="0" width="33" height="100" orientation="Vertical"> |
58 |
<axis> |
59 |
<scale minimum="0" maximum="10" major_interval="2" /> |
60 |
<labels> |
61 |
<format><![CDATA[{%Value}{numDecimals:2} Pa]]></format> |
62 |
</labels> |
63 |
</axis> |
64 |
<pointers> |
65 |
<pointer type="Bar" value="4" name="pressurePointer" color="#1D8BD1" /> |
66 |
</pointers> |
67 |
</linear> |
68 |
</gauge> |
69 |
</gauges> |
70 |
</anychart> |