Hello,
I have a question about range bar charts. I use the latest release of reporting standalone designer. What I want to, is to have in the same category more than one range bar.
Here is what I get:
This is the data
What I expect is, that in category "Pause" a second range bar will be visible at the range from 1080 to 1439.
Is this not possible with report designer?
Regards
Karsten
I have a pretty simple report that shows a couple of fields and a cross tab with some child data. It's just for demo purposes for now. It runs against an object data source, a .NET 6 class and I'm setting the data source at runtime like so:
var reportProcessor = new ReportProcessor();
var reportSourcePath = Path.Combine(_config["reportTemplatePath"], "Test.trdp");
Telerik.Reporting.Report report = null;
using (var sourceStream = File.OpenRead(reportSourcePath)) {
var reportPackager = new ReportPackager();
report = (Telerik.Reporting.Report) reportPackager.UnpackageDocument(sourceStream);
}
report.DataSource = GetDataSource(customerId); // Returns a .NET 6 object instance
Rendering the report thusly:
var reportSource = new InstanceReportSource();
reportSource.ReportDocument = report;
var result = reportProcessor.RenderReport("PDF", reportSource, new System.Collections.Hashtable());
This all works on Windows but fails on Mac at the RenderReport line with the following stack trace that I can't quite parse:
System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.ManualResetEventSlim.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.SpinThenBlockingWait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.InternalWaitCore(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait(CancellationToken cancellationToken)
at Telerik.Reporting.Paging.PageCompositionBase.SeparateThreadOutputBehavior.Finish()
at Telerik.Reporting.Paging.PageCompositionBase.CreatePages()
at Telerik.Reporting.Paging.PagerBase.Telerik.Reporting.Paging.IPager.CreatePages(IPageHandler handler, LayoutElement root)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(LayoutElement root, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback, PageSettings pageSettings)
at Telerik.Reporting.BaseRendering.RenderingExtensionBase.Render(Report report, Hashtable renderingContext, Hashtable deviceInfo, CreateStream createStreamCallback, EvaluateHeaderFooterExpressions evalHeaderFooterCallback)
at Telerik.Reporting.Processing.ReportProcessor.RenderCore(ExtensionInfo extensionInfo, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRender(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.ProcessAndRenderStateless(String format, ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext, CreateStream createStreamCallback)
at Telerik.Reporting.Processing.ReportProcessor.<>c__DisplayClass46_0.<RenderReport>b__0(SingleStreamManager sm)
at Telerik.Reporting.Processing.ReportProcessor.RenderReportSafe(Func`2 renderCallback, String format, IRenderingContext renderingContext)
at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo, CancellationToken cancellationToken)
at Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, ReportSource reportSource, Hashtable deviceInfo)
Hi,
I have a set of data with a timestamp that changes with the order of milliseconds. I would like to add in my report a Line chart (or similar) showing the data as a function of the timestime. Unfortunately it appears that the LineChart allows you to lower the base unit only to seconds and not milliseconds.
Is there any way to force the millisecond time?
As a workaround I tried two things:
First, to plot the data adding as cathegories the milliseconds, seconds, minutes, and h of the data. It works, but to be honest is not very pretty (see Img0.png)
Alternatively, I also tried to generate a Calculated field where I substract the Timestamp of the data with the First Timestamp, in order to have a time that starts from 0. From this Field, I wanted to manually calculate the milliseconds (adding also seconds, minutes, etc) in order to make a Scatter graph. However the obtained field has some issues. In the dataSource it appears as date, showing it has Minute, Second, etc, but if I try to refer to these subfields it gives me errors. I attached two pictures, one with the error shown if I just make a preview of the two data calculated, the other showing the Calculated Field (note that for the second one I'm simply collecting the Millisecond field).
Could you please help me with this, maybe with an example? thank you in advance!
Keep in mind that I would prefer to resolve it within Telerik, without the need to use outside code/calculations.
I found some postings about this, but they're all more than 10 years old. I'm hoping something has been added to address this since then.
On a label report, how can I tell the report to skip the first N labels so I start at a certain row and column?
Surely a hack to insert null rows at the top of the result set isn't the only option? Is there some event I can use or anything to cause the engine to skip labels until I say continue?
Thank you!
We had a report viewer set up that broke when we migrated from versiion 18.something to the current version because the report viewer would not accept an xmlReportSource.
This is very inconvenient to say the least.
There is some hint in the documentation that you can still do a simple local rendering but all of the viewers seem to only work with the REST service.
I've set up the HTML5 viewer but I had another ReportsController within my project so i had to rename it to keep it from being clobbered by the install of the Rest service.
Once installed I found at runtime that the Reports route was being confused with an entirely separate WebServices project. The only workaround that I found was to rename the controller to TelerikRestReportsController. The call to the viewer is functioning now and you can see in the first attached file that I am getting a response. Unfortunately I am now seeing the following:
Any suggestions would be greatly appreciated.
I would like to know if Telerik has a solution for this challenge that we are running into. I have a Telerik Report that our system will automatically export into a PDF, but users have an option to click a checkbox and additional PDFs from the current objects children will be stitched onto the end of the PDF report. So the report itself might be 10 pages, and then our application will then stitch on an additional 5 PDF files that are 2 pages each (totaling 20 pages).
Is there a way to place bookmarks in the main report, that will be able to link to the PDF files that are stitched onto the end of the report?
Good day!
Could you please help me to find the solution?
I have several htmlboxex in the report which accept html-strings from text-editor(for ex. <p>Comment</p><p>Comment</p><ol><li>List</li><li>List</li><li>List</li></ol><p><br></p><p>Comment</p><p>Comment</p>). And when I open the preview mode or look at it in html-viewer I get annoying extra gaps (see attached support.png). I tried to replace these <p>-tags with <div>-tags in the retrieved string in my sql-query (<div>Comment</div><div>Comment</div><ol><li>List</li><li>List</li><li>List</li></ol><div><br></div><div>Comment</div><div>Comment</div>). It helps. But there are some other tags that cannot be replaced (tags of ordered and unordered lists for example). And these gaps are still rendered. Could you please help me to find the solution how to make this text to be rendered correctly (see attached original.png, result.png)?
Thanks
Best regards, Helen
HI,
I have group in Telerik report. The data source I used to create the group had some duplicated rows. Therefore, There are duplicated groups in report. Is there any way to remove those duplicated groups?
Highlighted in below image is duplicated.