hachem Posted July 3, 2008 Report Share Posted July 3, 2008 When I use the multiple pane feature, it seems that my charts lose the grey horizontal zero line. This happens even if I have one pane in the chart. The zero line shows up fine if I have a single chart but I don't use panes. I'm using Chart FX 6.2 COM with Visual C++ and MFC. How do I get the zero line to show up? Thanks. Quote Link to comment Share on other sites More sharing options...
sfalla Posted July 4, 2008 Report Share Posted July 4, 2008 Hachem, I am not able to reproduce this. Are you able to provide some sample working code and some screenshots of what you are experiencing? Steve Quote Link to comment Share on other sites More sharing options...
kzoon Posted August 5, 2009 Report Share Posted August 5, 2009 Did you ever resolve this problem? I get the same problem. Quote Link to comment Share on other sites More sharing options...
hachem Posted August 7, 2009 Author Report Share Posted August 7, 2009 This problem has yet to be resolved in my case. Unfortunately, I cannot upload my code. If someone can upload their code, that would help all of us. Thanks. Quote Link to comment Share on other sites More sharing options...
kzoon Posted August 7, 2009 Report Share Posted August 7, 2009 This code genereates 2 panes. In the second pane the zero line is missing. This alway occurs when there are positive and negative numbers in the series. A work around may be to define a Constant Line for value 0 with the same color + width as the zero line would have, but I would prefer a more elegant solution. 'Fill data with positive and negative numbers Chart1.ClearData ClearDataFlag_AllData Chart1.OpenData COD_Values, 2, 2 Chart1.Value(0, 0) = 50 Chart1.Value(0, 1) = -75 Chart1.Value(1, 0) = 75 Chart1.Value(1, 1) = -50 Chart1.CloseData COD_Values 'Set panes Dim ax As Axis Set ax = Chart1.Axis(YAxis_Main) ax.Pane = 0 Chart1.Series(0).YAxis = YAxis_Main Set ax = Chart1.Axis(3) ax.YAxis = True ax.Position = AxisPosition_Near ax.Pane = 1 Chart1.Series(1).YAxis = 3 Chart1.RecalcScale Chart1.Panes(0).Title.text = "First pane" Chart1.Panes(1).Title.text = "Second pane" ChartFx.zip Quote Link to comment Share on other sites More sharing options...
hachem Posted December 22, 2014 Author Report Share Posted December 22, 2014 bump... 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.