Jump to content
Software FX Community

strip line on 0 value in Gannt chart


User (Legacy)

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...