How to make a static grid with scrolling data (Winforms) ?
Posted: Thu Mar 22, 2018 5:34 pm
I wish to hide both the x and y axis and all borders, and I want a fixed xy grid visible behind my scrolling line traces, with ten divisions in the Y direction and four divisions in the x direction. I can get everything working except the grid.
The manual says:
Edit: What I have done as a workaround is to add another X-axis that does not scroll (and has no data associated with it). I put the vertical gridlines on that axis and hid them on the original X-axis. This seems to work OK. I assume the horizontal gridlines are still scrolling, but I can't see it moving, so it's merely wasteful. However, I remain confused about the concept of the Static Grid as referenced in the user manual.
The user manual merely hints at many details -- is there a more complete set of documentation somewhere? Or perhaps a source of examples other than the demo programs?
Thanks!
The manual says:
However, I cannot find any property corresponding to MajorStaticXGridOptions or MinorStaticXGridOptions. Can anybody help, or post a link to an example that uses a fixed grid?Instead,
you should use static X grid. Hide the regular X axis objects by setting LabelsVisible = false,
MajorGrid.Visible = false and MinorGrid.Visible = false. Then, show the static X grid by setting
MajorStaticXGridOptions and MinorStaticXGridOptions.
Edit: What I have done as a workaround is to add another X-axis that does not scroll (and has no data associated with it). I put the vertical gridlines on that axis and hid them on the original X-axis. This seems to work OK. I assume the horizontal gridlines are still scrolling, but I can't see it moving, so it's merely wasteful. However, I remain confused about the concept of the Static Grid as referenced in the user manual.
The user manual merely hints at many details -- is there a more complete set of documentation somewhere? Or perhaps a source of examples other than the demo programs?
Thanks!