Jump to content
Software FX Community
Jim Kennelly

Gauge code

Recommended Posts

Are there any examples of gauge code that anybody would like to post? I got used to the original designer in the old version that would allow you to tweek the control then export the code.

 

Why doesn't the HELP show any code?

 

Thanks,

 

Jim

 

Share this post


Link to post
Share on other sites

Figured it out.. was looking for a way to add 2nd need via code

 

Dim RGauge As New ChartFX.WebForms.Gauge.RadialGauge

RGauge.MainIndicator.Value = 100

RGauge.Scales(0).Min = 0

RGauge.Scales(0).Max = 22000

 

Dim nd As New ChartFX.WebForms.Gauge.Needle

nd.Color = Drawing.Color.Aquamarine

nd.Value = 2000

nd.Visible = True

 

RGauge.MainScale.Indicators.Add(nd)

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...