dashboardwidget1.dial.xml 1.33 KB
Newer Older
Thitichaipun Wutthisak committed
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
<widget>
	<dial>
		<name>Gauge 1</name>
		<units></units>
		
		<!--  this is the background for the whole image -->
		<!--  TODO support gradient and texture painting -->
		<background-color>#ffffff</background-color>
		
		<!--  this ia the background for the dial --> 
		<!--  TODO support gradient and texture painting -->
		<dial-background-color>#404080</dial-background-color>
		
		<!--  this is the color of the needle -->
		<needle-color>#000080</needle-color>
		
		<!--  intervals define ranges on the dial that are colored differently from the dial background -->
		<interval>
			<label>low</label>
			<!-- this is the value that the range starts at -->
			<minimum>0</minimum>
			<!-- this is the value that the range stops at -->
			<maximum>30</maximum>
			<!--  this is the color of the range -->
			<!--  TODO support gradient and texture painting -->
			<color>#ff8080</color>
			<!--  this is the color of the text for the range value and tick marks -->
			<text-color>#0000bb</text-color>
		</interval>
		<interval>
			<label>medium</label>
			<minimum>30</minimum>
			<maximum>70</maximum>
			<color>#ffff80</color>
			<text-color>#0000bb</text-color>
		</interval>
		<interval>
			<label>high</label>
			<minimum>70</minimum>
			<maximum>100</maximum>
			<color>#80ff80</color>
			<text-color>#0000bb</text-color>
		</interval>
	</dial>
</widget>