Jump to content
Software FX Community

Chart Painting Bug


User (Legacy)

Recommended Posts

There is a bug in ChartFX that caused an endless loop and StackException

during painting. The bug only appears in version 1.1 of the CLR. See my post

below entitled:

"ChartFX (WinForms) bugs in CLR 1.1"

I was instructed to download a patch to fix the problem. The patched

worked for my existing charts, but now I see that the problem is occurring

once again, even with the patched ChartFX. The problem arises when a series

in a chart has all values set to Chart.Hidden. In the previous version of

ChartFX, the bug occurred when a series had all values set to zero.

Please advise.

David

Link to comment
Share on other sites

Never mind... The problem was with my code. I was passing in NaN as one

of the chart points without first converting it to Chart.Hidden. Although

the problem was with my code, it still might interest you to know that the

endless-loop problem occurs when NaN is passed in. Perhaps an exception

should be thrown immediately?

Sorry to waste your time..

David

"David Sworder (formerly known as "Rev. Dr. Hulio Manuel Sanchez-Cruz")"

<lamont@sanford.son> wrote in message

news:rJMwmEJJDHA.3100@webserver1.softwarefx.com...

> There is a bug in ChartFX that caused an endless loop and

StackException

> during painting. The bug only appears in version 1.1 of the CLR. See my

post

> below entitled:

>

> "ChartFX (WinForms) bugs in CLR 1.1"

>

> I was instructed to download a patch to fix the problem. The patched

> worked for my existing charts, but now I see that the problem is occurring

> once again, even with the patched ChartFX. The problem arises when a

series

> in a chart has all values set to Chart.Hidden. In the previous version of

> ChartFX, the bug occurred when a series had all values set to zero.

>

> Please advise.

>

> David

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...