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?
|