Hello,
donut chart label position =outsideend is overlapping with legend . Is there any way to avoid the overlapping ?
<telerik:RadHtmlChart runat="server" Height="300" ID="radcount">
<PlotArea>
<Series>
<telerik:DonutSeries DataFieldY="YName" NameField="XName">
<LabelsAppearance Position="OutsideEnd" DataFormatString="{0} %" />
<TooltipsAppearance Color="White" DataFormatString="{0}%"></TooltipsAppearance>
</telerik:DonutSeries>
</Series>
<YAxis>
</YAxis>
</PlotArea>
</telerik:RadHtmlChart>
Using the Anguarcli viewer.
mvc application api I am trying to use the designer either to bind using Object data source. But when I open the telerik report designer and choose Object data source it is blank. I have the report in the project and I compile my class and I still see no business object in the list.
Another way I thought also is to bind the report to the telerik report mvc version from the viewer.
<tr-viewer #viewer1
[containerStyle]="viewerContainerStyle"
[serviceUrl]="'http://localhost:/api/reports/'"
[reportSource]="{
report: 'Report1.trdp',
parameters: {}
}"
[viewMode]="'INTERACTIVE'"
[scaleMode]="'SPECIFIC'"
[scale]="1.0"
[ready]="ready"
[viewerToolTipOpening]="viewerToolTipOpening"
[enableAccessibility]="false">
</tr-viewer>
mvc razor version, can i do it the same way in angularcli viewer version.
@(Html.TelerikReporting().ReportViewer() // Each report viewer must have an id - it will be used by the initialization script // to find the element and initialize the report viewer. .Id("reportviewerTotal") // The URL of the service which will serve reports. // The URL corresponds to the name of the controller class (ReportsController). // For more information on how to configure the service please check http://www.telerik.com/help/reporting/telerik-reporting-rest-conception.html. // .ServiceUrl(Url.Content("/api/reportapi/")) .ServiceUrl(Url.Content("/api/reportapi/")) // The URL for the report viewer template. The template can be edited - // new functionalities can be added and unneeded ones can be removed. // For more information please check http://www.telerik.com/help/reporting/html5-report-viewer-templates.html. // Strongly typed ReportSource - TypeReportSource or UriReportSource. .ReportSource(new Telerik.Reporting.TypeReportSource() { TypeName = typeof(application.ReportViewer.ReportCatalog.ReportCatalog).AssemblyQualifiedName })
Hi,
We've just gotten started with Telerik Report. We're using Visual Studio 2017 and successfully created a Telerik Reporting Library Project. Within that Telerik Reporting Library Project, I created a Report (which is a .cs class), which works properly when I do a Preview and a HTML Preview. It displays the report with the proper data.
I added a Telerik Reporting REST project to my application and I believe that is also working because I get the following message when I hit the api/reports/formats URL: [{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLS","localizedName":"Excel 97-2003"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"MHTML","localizedName":"Web Archive"},{"name":"XPS","localizedName":"XPS Document"}]
I also created a folder in my project named "Reports" which is the default reportsPath.
I then added the HTML 5 viewer Page to my web project and that also comes up, but it doesn't load my report and gives the following error:
Unable to get report parameters.
Report 'Telerik.Reporting.Examples.CSharp.ReportCatalog%2C%20CSharp.ReportLibrary' cannot be resolved. (I tried with the demo report)
This is the same error I got before I created the REST project in my application.
Is there any obvious step I'm missing? Thanks.
Hi,
I Created a report, when i preview the report it works fine but sometimes i get " InnerException" Error. I don't understand i am getting this error. Please can anyone help me. Please find the below attached image.
Thanks,
Mans
I have created a report with groups. In the designer, I have done the following
Group, Action = Toggle Visibility
Details, Visible = False
So when the user opens the report, it will show with collapsed groups, which is what I want. However I want to give the user the ability to expand all groups instead of clicking manually on the "+" icons one-by-one.
Is that possible?
I have created a report in the standalone report designer R2 2017. I previews perfectly. The problem is when I try to use the report viewer in my C# windows forms Desktop Application, (Visual Studio 2015 Community edition). The problem is something to do with the report source value. The relevant code I am using is:
private void reportViewer1_Load(object sender, EventArgs e)
{
var typeReportSource = new Telerik.Reporting.TypeReportSource();
typeReportSource.TypeName = "F:\\Work\\OnTarget2015\\Reports\\Report1";
Telerik.ReportViewer.WinForms.ReportViewer reportViewer1;
reportViewer1 = new ReportViewer();
reportViewer1.ReportSource = typeReportSource;
reportViewer1.ReportSource.Parameters.Add(new Telerik.Reporting.Parameter(name: "StartDate", value: "1/1/2017"));
reportViewer1.ReportSource.Parameters.Add(new Telerik.Reporting.Parameter(name: "EndDate", value: "8/1/2017"));
this.reportViewer1.RefreshReport();
}
Private Sub PrintReport(ByVal report As Telerik.Reporting.Report)
Dim printerSettings As New System.Drawing.Printing.PrinterSettings
' The standard print controller comes with no UI
Dim standardPrintController As New System.Drawing.Printing.StandardPrintController
' Print the report using the custom print controller
Dim reportProcessor As New Telerik.Reporting.Processing.ReportProcessor
reportProcessor.PrintController = standardPrintController
reportProcessor.PrintReport(report, printerSettings)
End Sub
I have a set of pie charts in a report. The size of the pie charts ends up being different based on the label sizes. a larger label will generate a smaller chart. a smaller label will generate a larger chart. How can I make the size of the charts uniform regardless of label size.
I have tried to set the padding under the chart Style as well as the padding under the chart PlotAreaStyle. Setting the padding on the chart Style did decrease the size of the charts but it decreased them all by the same amount and they are still different sizes.
Hi,
I hope anyone can help me on this as my situation is very urgent. If you can see on the attached file, that is the shape that I want to make. So I decided to use the polygon shape which is available in telerik. Below is my sample code :
Telerik.Reporting.Shape polygonShape = new Telerik.Reporting.Shape();
PolygonShape seriesofPolygonShapePoints = new PolygonShape(8,0,0);
PointF[] seriesofPoints = new PointF[8];
seriesofPoints[0] = new PointF(-10,10);
seriesofPoints[1] = new PointF(-10, 4);
seriesofPoints[2] = new PointF(-12, 4);
seriesofPoints[3] = new PointF(-12, 0);
seriesofPoints[4] = new PointF(12, 0);
seriesofPoints[5] = new PointF(12, 4);
seriesofPoints[6] = new PointF(10, 4);
seriesofPoints[7] = new PointF(10, 10);
seriesofPolygonShapePoints.AddLines(points, true);
#region create custom polygon shape
polygonShape = new Telerik.Reporting.Shape
{
ShapeType = seriesofPolygonShapePoints,
Size = new SizeU(
Unit.Inch(.10),
Unit.Inch(.10)),
Stretch = true,
Location = new PointU(
Unit.Inch(coordinateViewModel.LocationOfX),
Unit.Inch(coordinateViewModel.LocationOfY)),
Style = {
BackgroundColor = backgroundColor,
Color = color,
LineWidth = lineWidth
}
};
#endregion
#region add to section
detailSection.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
polygonShape,
});
#endregion
With the above code, the report runs but it doesn't draw properly. It draws the default octagon shape since it has eight side. BUT what I want is the image I attached should display since I provided the points where the line should draw.
I don't know if im missing something in the code or am I missing the points that I need to add to draw the shape properly..
Hope someone can help me immediately..
Thanks!!!