User (Legacy) Posted March 30, 2006 Report Share Posted March 30, 2006 Hello, how can I disable the vertical red line on Gannt chart, it starting on Y axis at point 0.00 thanks, Jan Link to comment Share on other sites More sharing options...
Software FX Posted March 30, 2006 Report Share Posted March 30, 2006 Set: chart.AxisY.Style &= ~AxisStyles.BreakZero; -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 3, 2006 Author Report Share Posted April 3, 2006 Unfortunately, this doesn't help. axis only change behavior and disappear 0.00 point, but the red strip line is still here. I'm using chart FX 6.2 for .NET "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:Sg5zloBVGHA.3144@webserver3.softwarefx.com... > Set: > > chart.AxisY.Style &= ~AxisStyles.BreakZero; > > -- > Francisco Padron > www.chartfx.com > Link to comment Share on other sites More sharing options...
Software FX Posted April 3, 2006 Report Share Posted April 3, 2006 I believe you are creating a Constant Line that is at zero. The Red Line is being put there by your code. Check the constant lines collection, maybe when you add the one at 20, you are, by mistake, adding one at zero too. Notice that Zero is the default value for a constant line. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
User (Legacy) Posted April 3, 2006 Author Report Share Posted April 3, 2006 this.ConstantLines.Clear(); // using watch - this.ConstantLines.Count = 15 ... for (int i = 0; i < this.ConstantLines.Count; i++) this.ConstantLines.RemoveAt(i + 1); and ok, line is not red but is grey and still exists "SoftwareFX Support" <noreply@softwarefx.com> wrote in message news:MIpvayzVGHA.3080@webserver3.softwarefx.com... >I believe you are creating a Constant Line that is at zero. The Red Line is > being put there by your code. > > Check the constant lines collection, maybe when you add the one at 20, you > are, by mistake, adding one at zero too. Notice that Zero is the default > value for a constant line. > > -- > Francisco Padron > www.chartfx.com > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.