Telerik Forums
UI for WPF Forum
4 answers
153 views
Hi Team,

I was going through your documnet described in this blog post here. (Export to PDF in Help for Rad Chart)

Here when a chart we need to export is not in visual tree, we create a new RadChart and add the series mapping to it and export it.
But in my case I'm not using the DefaultView of RadChart, because I need to have a grid inside my chart area. So the modified RadChart I created in Xaml and using the same.
Now what I'm trying to do is I'm assigning the DataSeries to the chart I have in xaml (not creating a new one as in your example), and creating my chart. Now when I try to export it using ExportToImage, it throws an exception of null reference.

Is it not possible to export the chart which I have an updated view in xaml, when its not visible in the UI, by assigning the DataSeries as explained in your example (ex: not visible in visual tree)?

Please reply soon.

Thanks.

Manishkumar
Top achievements
Rank 1
 answered on 07 Dec 2011
1 answer
70 views
I've been struggling to create a stacked bar chart with that will display the following data:



I realize that since the columns (years) are dynamic that i must create the chart in codebehind. However, I've been lost with trying to figure out how to loop through the data (in the form of a datatable, that looks exactly like the grid in the screenshot above) and what item mappings and/or groupsettings to specifiy.  Any help with figuring this out would be most appreciated! Thanks

Tsvetie
Telerik team
 answered on 07 Dec 2011
0 answers
66 views
Hi,
I have a Rad TreeListView having 6 level of data. Suppose i expand the nodes to any lower level say 20 nodes expanded. Now i click on Navigation button to go to next page. My requirement is user will be able to see the same record before pagination.
In my treelistview row Virtualization is enabled.

Please attach a code snippet if any

Thanks
Vinod
Top achievements
Rank 1
 asked on 07 Dec 2011
1 answer
323 views
Hi,

I have a user control with RadGridView bound to the database table.

The table has a DateTimeOffset column.

It seems that the filter doesnt function properly with this DateTimeOffset datatype (the Date time picker in the filter window of the Grid View Column filter doesnt show up, and the options for filtering is constricted to only isEqualTo and IsNotEqualTo. Other options are not available).

I tried binding the columns with DateTime datatype where ever I could bind the grid to a Object (or Property) which is in turn bound to the database column.

But, where ever I need a direct binding to the database, I am not able to do this.

Can you please suggest any alternate solution?

Thanks and regards

Pavan
Rossen Hristov
Telerik team
 answered on 07 Dec 2011
2 answers
113 views
Hello Telerik Team,
                              I have one clarification about radcombobox..
I have two objects like LedgerID and LedgerName.The values are stored in database.I want to  retrieve these details and add to radcombobox itemsource value..

then if i put letter A in radcombobox  after drop down will open with all A starting words in assending order...
and if suppose i put Number in radcombobox  then the values will display ascending order based on the given LedgerID..

How to add radcombobox Itemsource to two columns and the above filtering method?
is it possible with Radcombobox?
or how to achive this give me any suggesstions?
Yana
Telerik team
 answered on 07 Dec 2011
1 answer
78 views
i import a docx into a RADbook with Rich textbox.

it show hyper link to current document but don't move to bookmark line?
Iva Toteva
Telerik team
 answered on 07 Dec 2011
3 answers
133 views
Hi,

We have used Rad Charts in our WPF application which shows crosshair on the chart and showing a tooltip on line where mouse is placed and it is working fine you can view it in attached image Working.jpg.

Now, we are in need to show two tooltips on mouse hover on data point. at the moment in the way that Y-axis value should be shown in main tooltip near the data point, while second tooltip should be shown in x-axis as per attache image Required.jpg.

Can you help us to achive this required functionality?

Thanks
Giuseppe
Telerik team
 answered on 07 Dec 2011
2 answers
128 views
Hello,
The following code displays a prompt as expected only when I don't provide the event handler :
var DialogParam = new DialogParameters
            {
                Content = new TextBlock()
                {
                    Text = "..."
                },
                Header = new TextBlock()
                {
                    Text="",
                }
            };
            RadWindow.Prompt(DialogParam);
            RadWindow.Prompt(DialogParam, ActionOnClose);

In the second case It displays "Telerik.Windows.Controls.DialogParameters " instead of "..." :-/
Guillaume
Top achievements
Rank 1
 answered on 07 Dec 2011
14 answers
282 views
Hello,

In one of our projects we have the need of adding crosshairs (vertical line + horizontal line that marks the location of a point, displaying the X coordinate and Y coordinate) to a radchart. I've seen that this functionality is not available by now. However, I found some examples in the Internet about how to make this possible in Silverlight using the toolkit controls (see http://www.scottlogic.co.uk/blog/colin/2009/02/adding-a-location-crosshair-to-silverlight-charts/) by modifying the control template.

My question is if there is any way to add this functionality by editing the radchart template or similar... any examples would be highly appreciated as this is the first project that we carry on WPF and Telerik Controls :-).

Hope you can help us !!!
Imran Javed Zia
Top achievements
Rank 1
 answered on 07 Dec 2011
1 answer
104 views
Hi Team,
I'm able to generate the chart using the help provided for generating the chart when not present in visual tree.

Bar chart export is working fine, but there are some problems with the Sand Chart.

In sand chart, the X and Y axis lines are not visible and also there are some Sand layers at the bottom are missing.

Is there any style I need to add for Sand Chart as we are doing for Bar Chart, because in bar chart there is no such problem exists.

Attaching the image for the PDF and UI comparision.

Please reply as soon as possible.
Thanks.
Nikolay
Telerik team
 answered on 07 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?