Jump to content
Software FX Community

showing legends and axis when data value is zero


User (Legacy)

Recommended Posts

Hi There,

Does any one know how to ensure that the labels and axis legends and tick

marks etc still show up even when the value to graph is zero? Attached is a

picture showing the problem, the big empty pane is caused by graphing all

zero values, the picture above it shows what it looks like when non zero

data is graphed. I want all the 'decorations' to still be visible even

though the line for the series will be of length zero. Please take a look at

the picture, its much easier to understand what I am talking about ;-)

thanks in advance

chad

Link to comment
Share on other sites

Well, the issue here is that since all the data is zero, Chart FX was not

able to figure out a scale.

What you can do is after setting your data check if axisY.Min = AxisY.Max if

so, chose some arbitrary scale (e.g. -1, 1).

We don't do it ourselves because there is no generic defaults for this case.

--

FP

Software FX

post-2107-13922379472847_thumb.jpg

Link to comment
Share on other sites

thanks that work!

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:DEPc9hnSEHA.3152@webserver3.softwarefx.com...

> Well, the issue here is that since all the data is zero, Chart FX was not

> able to figure out a scale.

>

> What you can do is after setting your data check if axisY.Min = AxisY.Max

if

> so, chose some arbitrary scale (e.g. -1, 1).

>

> We don't do it ourselves because there is no generic defaults for this

case.

>

> --

> FP

> Software FX

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...