
I'm trying to create a LineSeries chart with two series of data which are displayed on top of each other. The display data is data bound to series1 and series2. When I use the code below the two graphs are adjacent to each other (series1 on the left and series2 on the right). How can I get the two series to display on top of each other?
<telerik1:RadCartesianChart x:Name="RadChart1">
<telerik1:RadCartesianChart.HorizontalAxis>
<telerik1:CategoricalAxis
x:Name="AxisX"
Title="Length (km)"
IsStepRecalculationOnZoomEnabled="True"
LabelFormat="{}{0:0.000}"
MajorTickInterval="1000"
PlotMode="OnTicks"
SmartLabelsMode="SmartStep"
TitleTemplate="{DynamicResource BoldAxisTitle}" />
</telerik1:RadCartesianChart.HorizontalAxis>
<telerik1:RadCartesianChart.VerticalAxis>
<telerik1:LinearAxis
x:Name="AxisY"
Title="dB"
MajorStep="5"
Maximum="40"
Minimum="0"
TitleTemplate="{DynamicResource BoldAxisTitle}" />
</telerik1:RadCartesianChart.VerticalAxis>
<telerik1:RadCartesianChart.Series>
<telerik1:LineSeries
CategoryBinding="XVal"
ItemsSource="{Binding series1}"
Stroke="RoyalBlue"
StrokeThickness="1"
ValueBinding="YVal">
</telerik1:LineSeries>
<telerik1:LineSeries
CategoryBinding="XVal"
ItemsSource="{Binding series2}"
Stroke="Purple"
StrokeThickness="1"
ValueBinding="YVal">
</telerik1:LineSeries>
</telerik1:RadCartesianChart.Series>
</telerik1:RadCartesianChart>

Hi Team,
I would like to set few styles, namely TextDecorations like StrikeThrough, Underline and other styles like Horizontal Alignment, Boldness and Font Style programmatically by creating a FrameworkElementFactory of type Textblock and then assigning the same to a DataTemplate of type GridViewRow, which is then assigned to the ContentTemplateProperty of the GridViewRow; but to no avail.
Could you please guide me on the same.
Please let me know if any details/clarifications are required.
Thanks,
Swapnil Ramteke

Hello
I used the following code to export to image
Dim filename As String = "C:\Export\ExportedChart.png"
Using fileStream As Stream = File.Open(filename, FileMode.OpenOrCreate)
Telerik.Windows.Media.Imaging.ExportExtensions.ExportToImage(Me.chart, fileStream, New PngBitmapEncoder())
End Using
But the exported image misses the X and Y coordinate values. How can I export the image exactly as seen in the UI
I would like to export to PDF as well.
How can I display the X and Y values in the tool tip for radCartesianchart bar series
In radChart, there is a option as below:
<telerik:BarSeriesDefinition ItemToolTipFormat="the X value is #X, the Y value is #Y"ShowItemToolTips="True" />
</telerik:SeriesMapping.SeriesDefinition>

Hi,
I would like to use middle mouse to move viewport ?
Can you help me please ?
Thanks,
Nicolas
Hi,
we are using telerik-wpf controls for years now and are very happy, thanks so far. Now we are looking for a possibility to change
XAML Pages during runtime with an GUI Interfacec. We want to load the XAML page with its elements and display them. Some of
the elements should be protected. With drag & drop the user should be able to place a new textbox in the page an link this textbox
with a database-field.
After saving the user should only reopen the changed mask in the application and it should show the new field!
Is this possible with telerik controls in one way?
Thanks
Best Regards
RENE
Hi,
the last days, our customers suffer from following exception in our WPF/MVVM/PRISM/C# application. It is in German, but I give a translation for the important parts:
Source: PresentationFramework
HelpLink: null
Message: Beim Auswerten der Style-Eigenschaft für Element "Telerik.Windows.Controls.RadRibbonTab Header: Items.Count:0" wurde ein zyklischer Verweis gefunden. Translation: Cyclic reference found while evaluating the style property for element "Telerik.Windows.Controls.RadRibbonTab Header: Items.Count:0"
InnerException: null
StackTrace: bei System.Windows.FrameworkElement.UpdateStyleProperty()
bei System.Windows.TreeWalkHelper.InvalidateOnTreeChange(FrameworkElement fe, FrameworkContentElement fce, DependencyObject parent, Boolean isAddOperation)
bei System.Windows.FrameworkElement.OnVisualParentChanged(DependencyObject oldParent)
bei System.Windows.Media.Visual.FireOnVisualParentChanged(DependencyObject oldParent)
bei System.Windows.Media.Visual.RemoveVisualChild(Visual child)
bei System.Windows.Media.VisualCollection.DisconnectChild(Int32 index)
bei System.Windows.Media.VisualCollection.Clear()
bei System.Windows.Controls.UIElementCollection.ClearInternal()
bei System.Windows.Controls.Panel.ClearChildren()
bei System.Windows.Controls.Panel.OnItemsChangedInternal(Object sender, ItemsChangedEventArgs args)
bei System.Windows.Controls.Panel.OnItemsChanged(Object sender, ItemsChangedEventArgs args)
bei System.Windows.Controls.ItemContainerGenerator.OnRefresh()
bei System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
bei System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
bei System.Windows.WeakEventManager.D
The exception appears when I open the application, don't use it for at least one minute and then open a new dialog of the application. The dialog contains a RadRibbon usercontrol. Sometimes the exception occurs when I don't wait a minute, but it appears more reliable if I do.
It does not appear when I debug the application. However, If I use the release mode in Visual Studio 2015 and start the application without debugging, I can reproduce the exception.
Since I cannot debug the application for this issue, I only hope for a flash of inspiration on how I could further approach this issue. If you need further information, please tell me.
Thank you!