Jump to content
Software FX Community

Creating inner gauges dynamically


Recommended Posts

I am currently evaluating Software FX gauges and though I found them really attractive, I am facing an issue I do not manage to solve.

I have been trying to create an inner gauge for a long without managing to do what I want.

I've built a radial gauge dynamically, set its properties, values, ect.

Now I would like to add a DigitalPanel (as many examples on SoftwareFX show) in the bottom of the radialGauge.

I've tried to create a DigitalPanel manually and to user Mygauge.InnerGauges.Add(myDigitalPanel) but this cannot work since the object needed is an innerBaseGauge.

So I tried to create an InnerDigitalPanel object. This worked but this object's properties do not allow me to do what I want regarding design and positionning.

Could you please help me a bit and tell me how it is possible to add an innerDigitalPanel inside a radialGauge by code ?

Thanks a lot.

Link to comment
Share on other sites

  • 2 years later...

try this this will add an inner gauge.

Dim gae As Gauge.RadialGaugeDim bas As Gauge.InnerBaseGaugebas = New Gauge.InnerRadialGaugegae = CType(CType(bas, Gauge.InnerRadialGauge).RadialGauge, Gauge.RadialGauge)gae.MainValue = 40RadialGauge1.InnerGauges.Add(bas)

Link to comment
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.

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.

  • Create New...