Hello,
Is there any way to not hide Major grid lines when I plot something? I mean that grid lines should be over a plotted graphic.
Thanks
Major grid line over a plotted graphic
Moderator: Queue Moderators
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: Major grid line over a plotted graphic
Hello,
By default you should have major grid visible. If not, check _chart.ViewXY.Axis.MajorGrid.Visible property.
If you don't see ticks either, most likely you set Axis.CustomTicksEnabled = true, but without creating CustomTicks collection.
All the best.
By default you should have major grid visible. If not, check _chart.ViewXY.Axis.MajorGrid.Visible property.
If you don't see ticks either, most likely you set Axis.CustomTicksEnabled = true, but without creating CustomTicks collection.
All the best.
-
- Posts: 4
- Joined: Thu Jul 13, 2017 11:14 am
Re: Major grid line over a plotted graphic
Major ticks are visible but if I add, for example, a red area in the graphic then it overrides grid major lines and they will not be visible anymore but I would like to display them above the red area. The graphic attached. How can I do that?
Thank you!
Thank you!
- Attachments
-
- graphic.png (12.93 KiB) Viewed 11270 times
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: Major grid line over a plotted graphic
You can set _chart.ViewXY.AxisLayout.GridVisibilityOrder = FrontOfSeries.
-
- Posts: 4
- Joined: Thu Jul 13, 2017 11:14 am
Re: Major grid line over a plotted graphic
Thank you! It works.
Another one thing here - is there a way to show major grid line only for red region but not for whole chart? I just don't want to override black graphic by grid lines if it is possible.
Thanks
Another one thing here - is there a way to show major grid line only for red region but not for whole chart? I just don't want to override black graphic by grid lines if it is possible.
Thanks
- Attachments
-
- Screenshot_1.png (20.6 KiB) Viewed 11270 times
-
- Posts: 4
- Joined: Thu Jul 13, 2017 11:14 am
Re: Major grid line over a plotted graphic
Any help here? Thank you.
-
- Posts: 555
- Joined: Mon Mar 14, 2016 9:22 am
Re: Major grid line over a plotted graphic
Hello,
Sorry if sometime we can not provide prompt response. We need to prioritize questions send to our Support email account from users with exciting subscription.
There is no way to make grid several colors or with different rendering order. However, there are several workarounds. For example, you can create LineCollection (see our Demo App corresponding example) with with same LineStyle as grid and draw collection with disabled Behind property.
All the best.
Sorry if sometime we can not provide prompt response. We need to prioritize questions send to our Support email account from users with exciting subscription.
There is no way to make grid several colors or with different rendering order. However, there are several workarounds. For example, you can create LineCollection (see our Demo App corresponding example) with with same LineStyle as grid and draw collection with disabled Behind property.
All the best.