ViewXY Chart error getting called

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

greggorob64
Posts: 183
Joined: Tue Mar 18, 2014 2:55 pm

ViewXY Chart error getting called

Post by greggorob64 » Mon Jan 12, 2015 3:15 pm

I upgraded my lightning chart to the newest version, and am encountering an issue.

I have a situation where i have my chart in a 'small' mode, with margins = 0, no axis, no chart information, just the traces.

Then you maximize the window, and the chart gets larger, axis comes in, and i have all kinds of different margins.



When i do this now, I'm getting a call to chart error, with "invalid margins, check margins". When i check them in the chart error event, they are all 0, which is what I set them to.

This error getting called is a new occurrence, it didn't used to happen.

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: ViewXY Chart error getting called

Post by ArctionPasi » Mon Jan 12, 2015 5:00 pm

Hi.

You can just ignore the error output.

The margins are set manually or calculated automatically, and this error output just gives info when they are bad for the chart size. Graph area width or height gets zero or negative and the graph can't render.
LightningChart Support Team, PT