ComponentOne Gauges for ASP.NET AJAX: Working with Gauges for ASP.NET AJAX > Custom Pointer and Mark Shapes

Custom Pointer and Mark Shapes

Pointers and tick marks use the special class (C1GaugeCustomShape) that draws as a geometric figure with a number of layout options. Also, there are a few predefined shapes. The following are the predefined shapes available via the C1GaugePointer.Shape property:

 

  

 

The properties of a custom shape are specified in C1GaugePointer.CustomShape. The next images illustrate all the available options. All angles and radiuses can be either positive or negative. Here the Length property belongs to C1GaugePointer, not to C1GaugeCustomShape. There is also the Width property in C1GaugePointer that sets the maximum of StartWidth and EndWidth. The FlipShape property allows flipping the pointer. So the start becomes end and vice versa.

 

 

The following image details the angles of the pointer:

 

 

The following image details and StartRadius and EndRadius:

 

 

The C1GaugeSingleMark and C1GaugeMarks decorators have the Shape and CustomShape properties as well. 'Rectangle', 'Round', and 'Triangle' are the only available predefined shapes for the tick marks.


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.