Profile Picture

Gauges: Centre spindle of radial gauge does not resize when the gauge is resized

Posted By Kevin Harrison 9 Years Ago

Gauges: Centre spindle of radial gauge does not resize when the gauge...

Author
Message
Nevron Support
Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Yesterday @ 1:54 AM
Posts: 3,054, Visits: 4,009
Hi Kevin,
You can use a size relative to the containing panel size:

gauge.CapStyle.Size = new Nevron.GraphicsCore.NSizeL(new NLength(10, NRelativeUnit.ParentPercentage), new NLength(10, NRelativeUnit.ParentPercentage));

This for example applies a cap size which is 10 percent from the containing panel averaged width / height.


Best Regards,
Nevron Support Team



Kevin Harrison
Problem Posted 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)Supreme Being (79 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 176, Visits: 1,865
So it begins to dominate the gauge when it becomes small. Is there any way around this?
Thanks
Kevin



Similar Topics


Reading This Topic