ChartView - ChartGrid - Grid disappears with empty series

2 Answers 34 Views
ChartView
Álvaro
Top achievements
Rank 1
Iron
Iron
Álvaro asked on 23 Jan 2024, 06:20 PM

Hello team,

As said in the title, I have a Chart with a cartesian grid visible and working fine. The problem is when I add a series programmatically and the series data is empty (see img.2): my chart displays the new axis as expected with no values since there is no data for the series, but the grid disappears.

Img.1 : Two series with data. The grid is visible fine.

Img.2: Two series with one empty. The grid disappears.

2 Answers, 1 is accepted

Sort by
0
Álvaro
Top achievements
Rank 1
Iron
Iron
answered on 26 Jan 2024, 08:25 AM

I get this fixed by modifying the order in which the series are added to the chart.

The last one should be a series with data. In my case, the last series was empty.

0
Nadya | Tech Support Engineer
Telerik team
answered on 26 Jan 2024, 08:44 AM

Hello, Álvaro,

The provided information is not enough to reproduce the issue that you are facing. It seems that you have some integration between RadChartView and RadGridView, but I am not familiar with the setup that you currently have. However, I have noticed in your last reply that you managed to fix the problem by modifying the order the series are added to the chart. I am glad that you found a solution for the case. If you have further difficulties, it would be greatly appreciated if you can demonstrate the specific problem in a sample project. Thus, we could be able to help you achieve your requirement.

Please let me know if you have any other questions. 

Regards,
Nadya | Tech Support Engineer
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
Álvaro
Top achievements
Rank 1
Iron
Iron
Answers by
Álvaro
Top achievements
Rank 1
Iron
Iron
Nadya | Tech Support Engineer
Telerik team
Share this question
or