Profile Picture

Black border of the NRadialGaugePanel

Posted By Elvira Aminova 13 Years Ago
Author
Message
Elvira Aminova
questionmark Posted 13 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 10, Visits: 1
I have a radial gauge in my application. It's appears on the rectangular panel which has a black one-pixel border.

This is the code:


NChartControl nChartControl = container as NChartControl;

m_RadialGauge = new NRadialGaugePanel();
_gauge = m_RadialGauge;

m_RadialGauge.BorderStyle = new NEdgeBorderStyle(BorderShape.Auto);
m_RadialGauge.ContentAlignment = ContentAlignment.MiddleCenter;
m_RadialGauge.Location = new NPointL(new NLength(50, NRelativeUnit.ParentPercentage), new NLength(50, NRelativeUnit.ParentPercentage));
m_RadialGauge.Size = new NSizeL(new NLength(90, NRelativeUnit.ParentPercentage), new NLength(90, NRelativeUnit.ParentPercentage));
m_RadialGauge.BackgroundFillStyle = new NColorFillStyle(Color.Black);

NGaugeAxis axis = (NGaugeAxis)m_RadialGauge.Axes[0];
axis.Anchor = new NDockGaugeAxisAnchor(GaugeAxisDockZone.Top, true, RulerOrientation.Right, 0, 100);

createRangeIndicators(m_RadialGauge);
...
nChartControl.Panels.Add(m_RadialGauge);


Is it possible to hide this black border?



Similar Topics


Reading This Topic