Line series with Smooth Line Type is coming as straight line for Missing values in the exported pdf from asp.net web api

1 Answer 71 Views
Graph Report Book Report Designer (standalone)
Deepak
Top achievements
Rank 1
Deepak asked on 01 Sep 2023, 08:18 AM | edited on 02 Sep 2023, 12:51 PM

Hi Team,

I have created the Telerik report (.trdp) to show some data in Line Chart with below details.

Chart Type : Line Chart

Series : LineSeries

LineType : Smooth Line

YaxisScale : Numerical Scale.

Xaxis Scale : DateTime Scale

I have exported the PDF from Telerik Report designer  and it is working fine i.e, Line Type is smooth throughout . However , when I integrate the telerik report in my Asp.net Web api I started getting following issue. Line series is partially Smooth for continuous values and straight Line for missing values. Please let us know the solution to make the entire line type smooth.

PFA Screen shots for issue.

Picture 1 :  Working picture, pdf Exported from telerik report designer.

Picture 2 :  Issue image, Pdf Exported from Web api code.

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Momchil
Telerik team
answered on 05 Sep 2023, 11:03 AM

Hi Deepak,

Thank you for the attached screenshots.

One way I can explain the behavior you described is if the Report Designer and the Web API have "different" data. Meaning:

  • Report Designer - the months without a value have no corresponding data records. 
  • Web API -there is a record for every month but the value is null for some of them (missing value).

I am attaching a short muted video that illustrates the above.

Please, look into this and let me know if the same conditions occur on your end as well.

  • If yes, you can filter out the records with Null values. For example:

  • If not, please open a personal support ticket and attach your report along with the details of how it is integrated into your Web API.

I hope this helps.

Best Regards,
Momchil
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
Graph Report Book Report Designer (standalone)
Asked by
Deepak
Top achievements
Rank 1
Answers by
Momchil
Telerik team
Share this question
or