In the screenshots below, i set the left margin from 0 to 285. When the container is small, the margins aren't respected. When i make the container large before the margin change, it works just fine.
When i resize the window (via mouse) from big->small, or small->big, it doesn't modify the margins on the fly either. I'll attach
[*]small container before margin
[*]small container after margin
[*]big container before margin
[*]big container after margin.
What can i do to eliminate this discrepancy?
[*]Container is 660px. tile is small and margins set to 0. I will maximize this tile, and will set the margins to 285
[*] Container maximized. The chart is NOT respecting my specified margin
[*] Container 930px. Chart currently has 0 margins. I will maximize the tile and set it to 285 and it will be respected
Margins not respected graph container is a certain size
Moderator: Queue Moderators
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
-
- Posts: 42
- Joined: Thu Mar 28, 2013 9:20 am
Re: Margins not respected graph container is a certain size
The size of container should have no effect on how the margins are used. ViewXY.AxisLayout.AutoAdjustMargins have strong influence.
We made a MDI test where margin was adjusted at double click and on window Resize events based on its size.
The margins were updated nicely.
Can you provide us a minimum sample application by which we could reproduce this?
We made a MDI test where margin was adjusted at double click and on window Resize events based on its size.
The margins were updated nicely.
Can you provide us a minimum sample application by which we could reproduce this?
LightningChart Support Team, TK
-
- Posts: 183
- Joined: Tue Mar 18, 2014 2:55 pm
Re: Margins not respected graph container is a certain size
I have auto-adjust margins set to false.
It very much seems like there' a minimum chart area size relative to control width that's being forced on it. I'll try to take some time to generate a sample.
It very much seems like there' a minimum chart area size relative to control width that's being forced on it. I'll try to take some time to generate a sample.