MihaiBejenariu Posted January 16, 2008 Report Share Posted January 16, 2008 I added a secondary X axis using the code below. Now I saw a vertical line comes along with mouse cursor when I move it over the second axis. How can I avoid/deactivate that? Thanks in advance AxisX newXaxis = new AxisX(); newXaxis.Min = 0; newXaxis.Max = chart1.AxisX.Labels.Count; newXaxis.Step = 3; newXaxis.Labels[3] = "Q1"; newXaxis.Labels[6] = "Q2"; newXaxis.Labels[9] = "Q3"; newXaxis.Labels[12] = "Q4"; newXaxis.Position = AxisPosition.Near; newXaxis.Style = chart1.AxisX.Style; chart1.AxesX.Add(newXaxis); Link to comment Share on other sites More sharing options...
MihaiBejenariu Posted January 17, 2008 Author Report Share Posted January 17, 2008 Any idea? Link to comment Share on other sites More sharing options...
Frank Posted January 17, 2008 Report Share Posted January 17, 2008 You can not dissable highlighting for one particular axis, you can disable highlighting fro the whole chart as follows: chart.Highlight.Enabled = false; Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.