I have a RadHtmlChart in an ASP.NET application to show a pie chart that has stopped working for some reason, it just shows a blank space instead of where the chart is supposed to be. I think that it may have been a result of updating from Telerik 2019 to 2021, but I don't know for sure.
I see an error in the console log like this that I think may be related:
This is probably a long shot but I thought it was worth asking.
Users can choose an appointment date and time range for when an engineer will turn up. For example, 19th January 2022 between 10am and 4pm. I am displaying the appointments in a grid but I want to replace the words "between 10am and 4pm" or "10am-4pm" with a graphic. I am looking for a simple clock image which I can set from code behind with, for example, startime=1000 | endtime=1600 and see a little circle with a clock face with a "pie slice" shaded in to represent the period between 10am and 4pm.
I am not looking for a time picker (that's already done in the Edit Form) - I need a way of displaying a little visual indicator like a clock face / pie chart type of graphic with a shaded area showing the user a range such as 10am-4pm, 2pm-4pm, 8am-1pm etc. The time range will never be 12 hours or more but if this ever happened I could replace the clock display with my standard text label.
Does anyone know if this is possible with anything in the UI For ASP.NET AJAX suite or if an existing control could be repurposed with clever styling (a chart type maybe?) or a third party component (if I must). Requirements are I need to set the time range using a function called at run time from data binding or itemdatabound in code behind.
I can't believe no-one has needed this before but I can't find anything online (unless I'm not using the correct term for the type of control I need).
Any help would be really appreciated.
Thanks
Nick
Hello Guys,
I have inside a panel, multiple radhtmlchart that i want to print into new blank page. Can someone help me?
I have figured out how to hide a series by the index but I am not guaranteed the index will always be the same for each series, how can I hide/show series by name client side?
This hides by index:
var chart = $find("<%= myChart.ClientID %>");
var kendoChart = chart.get_kendoWidget();
kendoChart.options.series[1].visible = false;
I have tried to figure out how to get the index from below but have not been successful:
kendoChart.findSeriesByName("mySeriesName");
Hi there,
we are trying to implement the drill down for the bar chart and pie chart.
I need help to achieve this we are generating the chart in a completely dynamic way we don't have any code related to rad control on the Aspx page.
please help me if anyone has samples.
Hello,
I have a problem with RadHtmlChart export to base64:
With UI for ASP.NET AJAX R3 2017, I generate my chart on a div with a "display : none" and after, on JS, I take the value (base64) of this graph and I can generate my image:
But with UI for ASP.NET AJAX R1 2021, if I generate my chart on this div, the chart doesn't take full size of the canvas and when I generate the image, the chart wasn't in full screen:
Do you have an idea why my canvas don't take the full size?
Hi there,
I have used your example code to be able to export a chart to PDF
<script>
function exportChartToPDF() {
var $ = $telerik.$;
$get('<%=RadClientExportManager1.ClientID%>').exportPDF($(".RadHtmlChart"));
}
function exportChartToImage() {
var $ = $telerik.$;
$find('<%=RadClientExportManager1.ClientID%>').exportImage($(".RadHtmlChart"));
}
</script>
I have this triggered by a button and it is working, but I need to be able to export a specific RadHTMLchart.
I have limited knowledge of this in page scripting.
the supplied function finds the first instance of the type requested, is there a way to find a specific control?
Please excuse my lack of understanding, I am finding my feet with this stuff.
Thanks.
Hi,
How do I specify what I want to be the tootip for an unbound RadHTMLChart in code (VB)?
the code works but shows the Y value (tDays) in the tootip, I need it to show the Name field (Dept)
see code below:
Dim DeptSum = (From d In EmpData Group d By Dept = d.Department Into Group
Select Dept, tDays = Group.Sum(Function(d) d.Days)).ToList
Dim PieChartDays As New PieSeries
Dim PieSlice As PieSeriesItem
For Each DP In DeptSum
PieSlice = New PieSeriesItem
PieSlice.Name = DP.Dept
PieSlice.Y = DP.Tdays
PieChartDays.SeriesItems.Add(PieSlice)
Next
Hi.
I'm using TooltipsAppearance.ClientTemplate. It's working fine but it's inheriting the standard tooltip appearance and my template appears inside it.
Please refer to the attached image.
An example of what the tooltip should look like is also in the image. You will also notice the text in the bottom half of the tooltip is not showing. It is actually there but the text color is white so you can't see it.
What am I doing wrong?
Thanks.
Hi.
I'm used to working with DevExpress controls. When I use the Configuration Wizard I simple drag and drop the columns from my data source (SQL) and everything just lights up.
In the Telerik RadHTMLChart Configuration Wizard, even though I've connected to a SQLDataSource and data is coming through fine, I still have to type the column names in the wizard.
And I still haven't figured out how to do this for stacked column chart.
Am I missing something? Is there another tool I should be using for this? I should be able to create a sqldatasource based stacked column chart in about 10 seconds!
Thanks.