Hi Kevin,
We could not replicate this - this is the code we tested with:
private void Form1_Load(object sender, EventArgs e)
{
nChartControl1.Panels.Clear();
NDockPanel gaugeHostPanel = new NDockPanel();
gaugeHostPanel.DockMargins = new NMarginsL(10, 10, 10, 10);
gaugeHostPanel.DockMode = PanelDockMode.Fill;
NRadialGaugePanel radialGauge = new NRadialGaugePanel();
radialGauge.Location = new NPointL(new NLength(10, NRelativeUnit.ParentPercentage), new NLength(15, NRelativeUnit.ParentPercentage));
radialGauge.Size = new NSizeL(new NLength(80, NRelativeUnit.ParentPercentage), new NLength(80, NRelativeUnit.ParentPercentage));
radialGauge.PaintEffect = new NGlassEffectStyle();
radialGauge.BorderStyle = new NEdgeBorderStyle(BorderShape.Auto);
radialGauge.BackgroundFillStyle = new NAdvancedGradientFillStyle(AdvancedGradientScheme.WhiteOnBlack, 0);
// configure scale
NLinearScaleConfigurator scale = ((NGaugeAxis)radialGauge.Axes[0]).ScaleConfigurator as NLinearScaleConfigurator;
scale.SetPredefinedScaleStyle(PredefinedScaleStyle.PresentationNoStroke);
scale.LabelFitModes = new LabelFitMode[0];
scale.MinorTickCount = 3;
scale.RulerStyle.FillStyle = new NColorFillStyle(Color.FromArgb(40, Color.White));
scale.OuterMajorTickStyle.FillStyle = new NColorFillStyle(Color.Orange);
scale.LabelStyle.TextStyle.FontStyle = new NFontStyle("Arial", 12, FontStyle.Bold | FontStyle.Italic);
scale.LabelStyle.TextStyle.FillStyle = new NColorFillStyle(Color.White);
NGaugeAxis m_Axis = (NGaugeAxis)radialGauge.Axes[0];
NRangeIndicator indicator1 = new NRangeIndicator();
indicator1.Value = 50;
indicator1.FillStyle = new NColorFillStyle(Color.LightBlue);
indicator1.StrokeStyle.Color = Color.DarkBlue;
indicator1.EndWidth = new NLength(20);
indicator1.AllowDragging = true;
radialGauge.Indicators.Add(indicator1);
NNeedleValueIndicator indicator2 = new NNeedleValueIndicator();
indicator2.Value = 79;
indicator2.Shape.FillStyle = new NGradientFillStyle(GradientStyle.Horizontal, GradientVariant.Variant1, Color.White, Color.Red);
indicator2.Shape.StrokeStyle.Color = Color.Red;
indicator2.AllowDragging = true;
radialGauge.Indicators.Add(indicator2);
radialGauge.SweepAngle = 270;
NMarkerValueIndicator indicator3 = new NMarkerValueIndicator();
indicator3.Value = 90;
radialGauge.Indicators.Add(indicator3);
nChartControl1.Controller.Tools.Add(new NTooltipTool());
nChartControl1.Controller.Tools.Add(new NSelectorTool());
nChartControl1.Controller.Tools.Add(new NIndicatorDragTool());
indicator1.InteractivityStyle.Tooltip.Text = "Range Tooltip";
indicator2.InteractivityStyle.Tooltip.Text = "Needle Tooltip";
indicator3.InteractivityStyle.Tooltip.Text = "Marker Tooltip";
m_Axis.InteractivityStyle.Tooltip.Text = "Scale Tooltip";
radialGauge.BoundsMode = BoundsMode.Fit;
gaugeHostPanel.ChildPanels.Add(radialGauge);
this.nChartControl1.Panels.Add(gaugeHostPanel);
nChartControl1.MouseDown += new MouseEventHandler(nChartControl1_MouseDown);
}
void nChartControl1_MouseDown(object sender, MouseEventArgs e)
{
NHitTestResult result = nChartControl1.HitTest(e.X, e.Y);
}
All interactive functionality - tooltips, hit testing and indicator dragging is working OK.
Best Regards,
Nevron Support Team