This is a migrated thread and some comments may be shown as answers.

Grid lines overwrite plot area border

1 Answer 116 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Jason D
Top achievements
Rank 1
Veteran
Jason D asked on 31 Mar 2021, 07:49 PM
How can I show all grid lines *and* always show the plot area border? For example, if my axis ranges from 5 to 35, the grid line at 35 overwrites the plot area border and border will not be shown. If set the gridlines to Inner, then sometimes the first and last grid lines will not show, depending on the axis range (obviously). Equally unfortunate is that if one set is set to Inner and one to All, the grid lines will be drawn on top of the border leading to gray pixels at the intersection (screenshot). Ideally, this could all be solved if the border was just drawn after the grid lines. Is that possible?

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 05 Apr 2021, 10:37 AM

Hello Jason,

To achieve your requirement you can set the ZIndex of the CartesianChartGrid element.

<telerik:CartesianChartGrid ZIndex="-100" />

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ChartView
Asked by
Jason D
Top achievements
Rank 1
Veteran
Answers by
Martin Ivanov
Telerik team
Share this question
or