Sign in to follow this  
darshanKIRANI

LABELS TO ANGULAR GAGUE

Recommended Posts

dear team,

  Following is the XML i am using for angular gague, please tell me the procedure to add labels to the raange i have give or to the points.

string

retXML;

retXML =

"<chart lowerLimit='0' upperLimit='24' gaugeStartAngle='180' gaugeEndAngle='0' palette='1' numberSuffix='Hrs' tickValueDistance='6' showValue='1' decimals='0' editMode='1'>";

retXML = retXML +

"<set label='12AM - 6AM' />";

retXML = retXML +

"<set label='6AM - 12AM' />";

retXML = retXML +

"<set label='12AM - 18AM' />";

retXML = retXML +

"<set label='18AM - 24AM' />";

retXML = retXML +

"<colorRange>";

retXML = retXML +

"<color minValue='0' maxValue='6' label='6AM' code='FF654F'/>";

retXML = retXML +

"<color minValue='6' maxValue='12' label='12PM' code='F6BD0F'/>";

retXML = retXML +

"<color minValue='12' maxValue='18' label='6PM' code='8BBA00'/>";

retXML = retXML +

"<color minValue='18' maxValue='24' label='12AM' code='8BBA00'/>";

retXML = retXML +

"</colorRange>";

retXML = retXML +

"<dials>";

retXML = retXML +

"<dial id='CS' value='24' rearExtension='10'/>";

retXML = retXML +

"</dials>";

retXML = retXML +

"<styles>";

retXML = retXML +

"<definition>";

retXML = retXML +

"<style type='font' name='myValueFont' bgColor='F1f1f1' borderColor='999999' />";

retXML = retXML +

"</definition>";

retXML = retXML +

"<application>";

retXML = retXML +

"<apply toObject='Value' styles='myValueFont' />";

retXML = retXML +

"</application>";

retXML = retXML +

"</styles>";

retXML = retXML +

"</chart>";

return retXML;

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this