Telerik Forums
Reporting Forum
8 answers
242 views
Hi,

Ive got a graph which is very small but has a lot of bars on it, using a category scale. Obviously theres no way all the labels will fit so im trying to hide some.

From various forum posts ive seen that I should set the Label property on my category group to either the value i want or an empty string for the ones i want to hide. This part works but when the graph is rendered the labels are still too small and get cropped even though the labels next to them are blank.
See attached image.

Below is the expression im using on the CategoryGroup Label:
= IIf(Fields.Band = "8Hz" Or Fields.Band = "16Hz" Or Fields.Band = "31.5Hz" Or Fields.Band = "63Hz" Or Fields.Band = "125Hz" Or Fields.Band = "250Hz" Or Fields.Band = "500Hz" Or Fields.Band = "1kHz" Or Fields.Band = "2kHz" Or Fields.Band = "4kHz" Or Fields.Band = "8kHz" Or Fields.Band = "16kHz",
 Fields.Band, "")
I also tried Null instead of empty string but it didnt change anything.

Is there something I can change to get it to render the labels correctly? Or is there some other approach i should be using? I considered a numerical scale and using the step value to skip some labels but there doesnt seem to be a way to override what text is displayed in that case.

Thanks,
Martin
Nasko
Telerik team
 answered on 16 Mar 2015
5 answers
95 views
Hi, i'm developing a Silverlight solution that use ReportView. In my mind, ill create reports on stand alone Report Designer and save the .trdx files on specific folder. Using a default  Report Resolver, i didn't find how to do this. So, i created a custom Report Resolver like on Telerik Report Documentation. Perfect, the report viewer could connect with my ReportService using my custom resolver BUT, i don't know how to deal with it. There is no pratical example of it. Here is the code of my custom report resolver, it works partially, because it gets the report, send and on the report viewer didn't show.

namespace Services.Code_Test
{
    using Telerik.Reporting.Service;
    using Telerik.Reporting;
    using System.IO;

    public class CustomReportService : ReportService
    {
        static readonly IReportResolver resolver = new ReportResolver();

        public CustomReportService()
        {
            this.ReportResolver = resolver;
        }
    }

    public class ReportResolver : IReportResolver
    {
        public ReportSource Resolve(string report)
        {
            string path = string.Format(@"D:\Reports\{0}.trdx", report);
            UriReportSource uriReportSource = new UriReportSource();
             uriReportSource.Uri = report;
            return uriReportSource;
        }
    }
}

What i am doing wrong?
Stef
Telerik team
 answered on 16 Mar 2015
5 answers
368 views
Hi All,

I am new to Telerik reporting and am working on my first Telerik report. We are using Telerik Reproting Q1 2015 in Visual Studio 2010.

My query/data source returns a set of product names, quarter of the week sold, week sold, qty sold columns. The report needs to group by quarter. Each quarter will have the following columns: Product, Each week in the group's quarter. And the values contain the qty sold in the week.

In my report, using Visual Studio designer, I added Quarter, Product to row group, Week to column group and qty Sold to values.

Issue:
This is generated all the weeks of all the quarters in the entire table. But what is desired is each row group for the quarter should show weekly columns that pertain to the quarter, meaning In the row group for Q1 2015 I need to have columns for the weeks in Jan-Mar of 2015 and in the row group Q2 2015 should have Apr-Jun 2015 week columns. This also means that each group item will have different columns.

How can I achieve this? I tried google and also looking through the Telerik examples but could not find any major help.

I appreciate any help or guidance

Thanks
Jaideep

Hinata
Top achievements
Rank 1
 answered on 16 Mar 2015
1 answer
111 views
I have created a graph which has a datetime field as the x-axis.  From the datasource, the datatype is datetime. 

I want the x axis lables to show only MM/dd/yy, but it always wants to show the time.  I have tried custom format on the legend with {0:MM/dd/yy} but that throws an error in the graph saying:  Input string was not in a correct format.  I try without the {} brackets.  Still shows time. 

I have also tried changing Scale to DateTime Scale (at this point I am shooting in the dark).  Is there a way to get these times to go away?

Thanks,
Phil
Stef
Telerik team
 answered on 16 Mar 2015
1 answer
579 views
Hi everyone, 

Is it somehow (in the designer) possible to set the visibility property of a GraphGroup dynamically (e.g. via a Parameter). 

I would like to provide only a single report and determine the visibility depending on the entry point of the end-user. 

Thanks a lot for providing any insights/possible work arounds. 

Best regards!
Nasko
Telerik team
 answered on 16 Mar 2015
62 answers
1.3K+ views
Hello guys,

This thread will be used to post the latest online resources available:

How to: Import reports created with the VS Report Designer - introducing the new Import Wizard.
Report Templates - introducing trdx report templates.
Report Designer Configuration - explains the settings of the Telerik Reporting engine that can be defined in a custom configuration section called Telerik.Reporting.
Extending Report Designer - explains how to add your own User Functions or bind to custom CLR objects.
Stef
Telerik team
 answered on 16 Mar 2015
1 answer
76 views
I have created a report in Report Designer Q1 2015 . When I was going to configure the data source I was unable to load the combo box related to stored procedures. My database contained more than 100 stored procedures. I created a small database which has less than 10 sp's, then those sp's loaded to the combo box successfully.
Report Designer Q1 2015 is not responding when going to load large number of stored procedures. Previously I worked with Report Designer Q1 2014. But it didn't had this error. How can I fix this issue??
Stef
Telerik team
 answered on 13 Mar 2015
1 answer
104 views
Is there a tutorial that I can distribute to my end users to help them with the Standalone Report Designer?   This was available with the Q1 2012 vertion and was a great tool for pitching  Telerik as a reporting solution. There was also a video targeted to the end user  that went over the basics of using the Standalone Reporter Designer.    
Nasko
Telerik team
 answered on 13 Mar 2015
3 answers
146 views
How might I go about showing an average star rating of 2.75 out of 5 similar to the UI for ASP.NET AJAX RadRating control on a report?
Stef
Telerik team
 answered on 13 Mar 2015
1 answer
198 views
When I try to preview a report in the designer I receive the following error:

"Could not load file or assembly 'Beacon.Utilities, Version=1.0.0.0, Culture-neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."

My reports project does have this reference and the issue doesn't occur if I run the report at runtime; only when previewing in the report designer. The assembly referenced above has com interop dependencies. How can I preview reports without getting this error?
Nasko
Telerik team
 answered on 13 Mar 2015
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?