DRGauges API
The following are the components available under the drcoderz.com.gauges library, their API and their usage.


Namespace: drcoderz.com.gauges.simple
Name of Component: SimpleGauge
Properties:

Color related:
(enum GaugeTheme) BlueTheme: changes the theme of the gauge to a blue temperature gauge theme
(enum GaugeTheme) TempTheme: changes the theme of the gauge to a temperature gauge theme
(enum GaugeTheme) CustomTheme: sets a default theme and allows user to customize this theme.

NOTE: when GaugeTheme is set, you can set the value CustomColor to a Brush property and the custom theme will adopt the color provided, as a Brush (such as a SolidColorBrush,LinearGradientBrush, etc.)

(Brush) NumbersBrush: changes the color of the numbers
(Brush) LinesBrush: changes the color of the lines
(Brush) CustomColor: changes the color of the gauge theme when set to CustomTheme (see above)

Configuration Related:
(double) GaugeValue: changes the value of the gauge (from 0 to 100)


Namespace: drcoderz.com.gauges.complex
Name of Component:ComplexGauge
Properties:

Color related:
(Brush) ThinArchColor: sets the color of the thin arch around the gauge to a user set color
(Brush) HandColor: sets the color of the gauge needle/hand
(Brush) GaugeLabelColor: sets the color to the label of the gauge

Configuration Related:
(double) GaugeValue: changes the value of the gauge (from 0 to 100)
(string) UOM: allows user to set a unit of measure label to be displayed on the label
(string) SubLabel: allows the user to set a custom label under the Gauge level

Last edited Apr 16, 2011 at 3:17 PM by DRCoderz, version 1

Comments

No comments yet.