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); Quote Link to comment Share on other sites More sharing options...
MihaiBejenariu Posted January 17, 2008 Author Report Share Posted January 17, 2008 Any idea? Quote 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; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.