Hello,
I'm currently trying to create a line chart programmatically and was successfully able to do so. However I noticed that in certain cases, the smooth line type produces odd results. When the x-axis has a date scale and 2 points are too close to one another, depending on the y-axis values the line will sometimes curve backwards (see the black line in the smooth_line attachment). I'm using a cartesian coordinate system as recommended by your documentation. I've attached images of the chart using both straight and smooth line types. The data is the same, only the line type is different. We have not had this issue creating similar line charts in kendo jquery ui or kendo angular. We would like to use the smooth line type (instead of the straight) for our reporting charts. Is there way to prevent this issue from happening, or is there a different coordinate system that we can use to achieve the desired results? Please advise. Thanks!
I have a page that has 5 separate tabs. The first tab is set to active so it will load first. The Telerik Report is on the 5th tab so it will not load automatically. It will only load automatically if it's the first tab. I've tested this by setting the tab with the report as the first tab and it will load just fine.
Previously we were using 2016 R3 version and using the command:
$("[data-command='telerik_ReportViewer_refresh']").first().click();
This never gave us issues. We recently upgraded to 2020 R1 and now this command will not work. Is there a way to refresh the page manually by JQuery?
Hello,
We currently have a picture box on our PDF report that we want to open in a new tab / window on click but it is not working.
The designer file looks like this
//
// pictureBox1
//
navigateToUrlAction1.Url = "= MapLocation(Fields.UniqueId)"; // This calls and returns a url and is working fine
navigateToUrlAction1.Target = Telerik.Reporting.UrlTarget.NewWindow; // Added this manually just in case, when using the designer and choosing New window under Link target it does not add this line, I assume its default behavior?
this.pictureBox1.Action = navigateToUrlAction1;
We have tried to set the url to just http://google.com but same results.
i followed the attachment in this post to create an object datasource. now i have to pass ten parameters into the datasource for getting some data from a query with almost one billion rows if not applied parameters. since i need to reuse existing infrastructure i have to use the method in our data layer project to get data. so adding dynamic object datasource is a must. how will i pass these parameters to the object datasource
also i would like to know if there is any way to pass all these 10 parameters as a model so i can forward the model from our webapi controller?
Hello,
This is a thread that continues from the following post: https://www.telerik.com/forums/filter-graph-data
To give a default value to a graph, I have used this expression in the report parameter:
= AddMonths(Last(Fields.wDate), -12)
The above displays the past 12 months of data on a graph which has 5 years (60 months) of data.
However, the data that I have does not include weekends and public holidays. So in scenarios such as:
Latest date (Last(Fields.wDate)) is 2nd March 2020, and the 12 month previous data is from 2nd March 2019. 2nd March 2020 is on a Monday so data is recorded, but 2nd March 2019 was on a Saturday hence there is no data on it, which results in an error saying 'Missing or invalid parameter value. Please input valid data for all parameters.'
Is there a way where, if the -12 value is on a weekend or public holiday, it picks the data closest to it, for e.g. 4th March in this case. Or alternatively a function where I just get the latest year's worth of data by default? I have tried = Today().AddMonths(-12) but it also has the same issue.
I have also attached a screenshot of my report parameter.
Thank You
Hello,
I have an HTML Text Box that is rendering text as (at least) a double spaced. This needs to be single spaced. I have tried setting each list Item's (<li>
) enclosing span to a line height of 105% and 100% for two different attempts. Neither changed the spacing.
How is line spacing set?
HTML:
<p><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> Notes to Merchant:</span></span></p><p><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> <p></p><p></p></span><p></p></span></p><p></p><p></p><p></p><p></p><p></p><p></p><ol><li><p><span style="font-size: 13px; font-family: consolas; line-height: 100%"><span style="font-size: 13px; font-family: consolas"> 1. No substitution of any articles allowed</span></span></p></li><li><p><span style="font-family: consolas; line-height: 100%"> <span style="font-size: 13px"><span style="font-size: 13px">2. Articles must not exceed the stated cost of $200.00, unless with authorized signature.</span></span></span></p></li><li><p><span style="font-family: consolas; line-height: 100%"> <span style="font-size: 13px"><span style="font-size: 13px">3. Invoices must not exceed the stated amount on the request form, unless with authorized signature.</span></span></span></p></li><li><p><span style="font-family: consolas; line-height: 100%"> <span style="font-size: 13px"><span style="font-size: 13px">4. Do not accept request forms from parents 30 past date marked on voucher.</span></span></span></p></li><li><p><span style="font-family: consolas; line-height: 100%"> <span style="font-size: 13px"><span style="font-size: 13px">5. All invoices must be received 30 days from the date of distribution to be honored.</span></span></span></p></li><li><p><span style="font-family: consolas; line-height: 100%"> <span style="font-size: 13px"><span style="font-size: 13px">6. Send or bring invoices monthly to:</span></span></span></p></li></ol><p><span style="font-family: consolas"></span></p><p><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><</span></span></span><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000">div</span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> </span></span><span style="font-size: 13px; font-family: consolas; color: #ff0000"><span style="font-size: 13px; font-family: consolas; color: #ff0000"><span style="font-size: 13px; font-family: consolas; color: #ff0000">style</span></span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">="</span></span></span><span style="font-size: 13px; font-family: consolas; color: #ff0000"><span style="font-size: 13px; font-family: consolas; color: #ff0000"><span style="font-size: 13px; font-family: consolas; color: #ff0000">text-align</span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas">:</span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">center"></span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas">Baltimore City Schools</span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><</span></span></span><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000">br</span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> </span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">/></span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas">Office of Home and Hospital Program</span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><</span></span></span><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000">br</span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> </span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">/></span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas">2000 Edgewood Street – Lower Level</span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><</span></span></span><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000">br</span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> </span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">/></span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas">Baltimore, MD 21216</span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><</span></span></span><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000">br</span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas"> </span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">/></span></span></span><span style="font-size: 13px; font-family: consolas"><span style="font-size: 13px; font-family: consolas">Attention: Allen Blackwell / Annette White</span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"></</span></span></span><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000"><span style="font-size: 13px; font-family: consolas; color: #800000">div</span></span></span><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff"><span style="font-size: 13px; font-family: consolas; color: #0000ff">> <p></p><p></p><p></p></span></span></span></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><p></p><ol></ol>