Telerik Forums
UI for WPF Forum
2 answers
103 views
Hi There,

I plan on overriding the Settings Pane by removing the Style and Text sections and then added 1 or 2 additional ones in their place. I'd like to maintain the functionality exposed in Home and Size however, just maybe re-arrange them (so my 2 custom ones are first followed by Home and Size). I can't seem to find a way to simply override the Settings Pane without creating a completely new Settings Pane (like in the MindMap example), can you help point me to an example of this or provide a suggestion on accomplishing this?

Thanks!
Tim
Tim
Top achievements
Rank 1
 answered on 27 Jun 2013
1 answer
60 views
I did upgrade to Q2 2013 yesterday and my solution regressed, wondering if anyone out there seen this or know about this and help me figure out a way out of this.

I am seeing resource load failure for "themes/office/black/gauge.xaml" in both designer and runtime, build passes though.
  • I did upgrade control suite to Q2 2013, no other changes.
  • I noticed that the gauge.xaml was embedded in the assembly "Telerik.WIndows.Controls.DataVisualization.dll" before (in Q2) and it is no longer there now.  I could not find any related information in readme, anyone knows how to find this missing resource?  Thanks in advance for any tips or links.

    Andrey
    Telerik team
     answered on 27 Jun 2013
    1 answer
    128 views
    We are using HorizontalBarSeriesDefinition for our application. When we have to bars, with 0 and +ve value, the labels are displayed properly. But when we use 0 and -ve value. Label for 0 value is not displayed.

    Please refer to the snapshots and code attached below:


    Code:
    <UserControl x:Class="WpfApplication1.ChartControl"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 mc:Ignorable="d"
                 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:telerik.chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting"
                xmlns:telerik.charting="clr-namespace:Telerik.Windows.Controls.Charting;assembly=Telerik.Windows.Controls.Charting"
                d:DesignHeight="300" d:DesignWidth="300">
        <UserControl.Resources>
            <Style x:Key="AxisXLineStyle" TargetType="Line">
                <Setter Property="Stroke" Value="Black" />
                <Setter Property="StrokeThickness" Value="1" />
            </Style>
     
            <Style x:Key="AxisYLineStyle" TargetType="Line">
                <Setter Property="Stroke" Value="Black" />
                <Setter Property="StrokeThickness" Value="1" />
            </Style>
     
            <Style x:Key="AxisXStyle" TargetType="telerik.charting:AxisX2D">
                <Setter Property="AxisLineStyle" Value="{StaticResource AxisXLineStyle}" />
            </Style>
     
            <Style x:Key="AxisYStyle" TargetType="telerik.charting:AxisY2D">
                <Setter Property="AxisLineStyle" Value="{StaticResource AxisYLineStyle}" />
            </Style>
     
            <Style x:Key="RadChartDefaultStyle" TargetType="telerik.chart:RadChart" >
                <Setter Property="Background" Value="Transparent" />
                <Setter Property="BorderBrush" Value="Transparent" />
                <Setter Property="BorderThickness" Value="0" />
                <Setter Property="Margin" Value="0" />
                <Setter Property="HorizontalAlignment" Value="Stretch" />
                <Setter Property="HorizontalAlignment" Value="Stretch" />
                <Setter Property="telerik:StyleManager.Theme" Value="Metro" />
            </Style>
            <Style x:Key="ChartAreaDefaultStyle" TargetType="telerik.charting:ChartArea" >
                <Setter Property="Background" Value="Transparent"/>
                <Setter Property="EnableAnimations" Value="True"/>
                <Setter Property="AxisXStyle" Value="{DynamicResource AxisXStyle}"/>
                <Setter Property="AxisYStyle" Value="{DynamicResource AxisYStyle}"/>
                <!--<Setter Property="ItemOverlapPercent"  Value="-20" />-->
                <Setter Property="ItemWidthPercent"  Value="50" />
            </Style>
            <Style x:Key="GridLineStyle" TargetType="Line">
                <Setter Property="Stroke" Value="#D7D7D7" />
                <Setter Property="StrokeThickness" Value="2" />
            </Style>
            <Style x:Key="AxisItemLabelStyle" TargetType="TextBlock">
                <Setter Property="FontSize" Value="10" />
                <Setter Property="FontWeight" Value="SemiBold" />
                <Setter Property="Foreground" Value="Black" />
                <Setter Property="HorizontalAlignment" Value="Right" />
                <Setter Property="Margin" Value="0,0,3,0" />
            </Style>
            <telerik.charting:BrushCollection x:Key="ChartPaletteBrushes2" >
                <SolidColorBrush Color="#002060"/>
                <SolidColorBrush Color="#FFC000"/>
            </telerik.charting:BrushCollection>
        </UserControl.Resources>
        <Grid>
            <telerik:RadChart Grid.Row="0" Style="{DynamicResource RadChartDefaultStyle}" ItemsSource="{Binding Data}" Name="chart" LayoutUpdated="chart_LayoutUpdated">
                <telerik:RadChart.DefaultView>
                    <telerik:ChartDefaultView ChartLegendPosition="Bottom" >
                        <telerik:ChartDefaultView.ChartArea >
                            <telerik:ChartArea
                            Style="{DynamicResource ChartAreaDefaultStyle}"
                            LabelFormatBehavior="HumanReadable"
                            LegendName="Legend1"
                            PaletteBrushes="{DynamicResource ChartPaletteBrushes2}"
                            SmartLabelsEnabled="True">
                                <!--<telerik:ChartArea.Annotations>
                                    <telerik.charting:CustomGridLine YIntercept="0" StrokeThickness="2" Stroke="Black" >
                                         
                                    </telerik.charting:CustomGridLine>
                                </telerik:ChartArea.Annotations>-->
                                <telerik:ChartArea.AxisY >
                                    <telerik:AxisY
                                    AutoRange="True" 
                                    IsZeroBased="True"
                                    PlotAreaAxisVisibility="Visible"
                                    MajorTicksVisibility="Collapsed"
                                    MajorGridLinesVisibility="Visible"
                                    MinorTicksVisibility="Collapsed"
                                    StripLinesVisibility="Collapsed">
                                        <telerik:AxisY.AxisStyles >
                                            <telerik:AxisStyles
                                            GridLineStyle="{DynamicResource GridLineStyle}"
                                            ItemLabelStyle="{DynamicResource AxisItemLabelStyle}"
                                            />
                                        </telerik:AxisY.AxisStyles>
                                    </telerik:AxisY>
                                </telerik:ChartArea.AxisY>
                                <telerik:ChartArea.AxisX>
                                    <telerik:AxisX
                                    IsZeroBased="True"
                                    MajorGridLinesVisibility="Collapsed"
                                    StripLinesVisibility="Collapsed">
                                        <telerik:AxisX.AxisStyles>
                                            <telerik:AxisStyles
                                            ItemLabelStyle="{DynamicResource AxisItemLabelStyle}"/>
                                        </telerik:AxisX.AxisStyles>
                                    </telerik:AxisX>
                                </telerik:ChartArea.AxisX>
                            </telerik:ChartArea>
                        </telerik:ChartDefaultView.ChartArea>
                        <telerik:ChartDefaultView.ChartLegend >
                            <telerik:ChartLegend Name="Legend1" Visibility="Collapsed"/>
                        </telerik:ChartDefaultView.ChartLegend>
                    </telerik:ChartDefaultView>
                </telerik:RadChart.DefaultView>
                <telerik:RadChart.SeriesMappings >
                    <telerik:SeriesMapping  >
                        <telerik:SeriesMapping.SeriesDefinition>
                            <telerik:HorizontalBarSeriesDefinition 
                            TextBlock.TextAlignment="Right"
                            ItemToolTipFormat="#VAL{C0}"
                            ItemLabelFormat="#VAL{C0}"
                            SeriesItemLabelStyle="{DynamicResource ChartSeriesItemLabelStyle}"
                            ShowItemToolTips="True">
                                <telerik:HorizontalBarSeriesDefinition.Appearance >
                                    <telerik:SeriesAppearanceSettings  Foreground="Black"  />
                                </telerik:HorizontalBarSeriesDefinition.Appearance>
                                <telerik:HorizontalBarSeriesDefinition.InteractivitySettings>
                                    <telerik:InteractivitySettings SelectionMode="Multiple" SelectionScope="Item" />
                                </telerik:HorizontalBarSeriesDefinition.InteractivitySettings>
                            </telerik:HorizontalBarSeriesDefinition>
                        </telerik:SeriesMapping.SeriesDefinition>
                        <telerik:SeriesMapping.ItemMappings>
                            <telerik:ItemMapping FieldName="Balance" DataPointMember="YValue"/>
                            <telerik:ItemMapping FieldName="AcctCatTyp" DataPointMember="XCategory" />
                        </telerik:SeriesMapping.ItemMappings>
                    </telerik:SeriesMapping>
                </telerik:RadChart.SeriesMappings>
            </telerik:RadChart>
        </Grid>
    </UserControl>

    Peshito
    Telerik team
     answered on 27 Jun 2013
    3 answers
    85 views
    We are using HorizontalBarSeriesDefinition for our application. When we open this application for first time axis line is placed at correct location but when after playing for certain time when we display this chart again, Axis line is misplaced from its actual position. In our code we have assigned only style to specify color and FontWeight to axis line. Apart from that there is no code for axis line.

    Can you please let us know is there any way to redraw axis line at its correct location.
    Petar Kirov
    Telerik team
     answered on 27 Jun 2013
    2 answers
    106 views
    I need to create a scatter plot that looks something like the image I've attached which features a combination of scatter points and rings of defined sizes. 

    I have been able to use the ScatterPointSeries.PointTemplate to create the rings by modifying the width, height, stroke and fill properties so that I get a hollow ring that is larger than the scatter points. However I need to be able to control the size of the ring relative to the chart axis. 

    It appears that something similar to what I need was available in BubbleChart (BubbleSizeRelative) but this is not available in ChartView yet.

    Is there any way I can do this with the current version and if not do you know when it will be implemented? 

    Thanks for the help,

    Andy. 
    Andrew
    Top achievements
    Rank 1
     answered on 27 Jun 2013
    0 answers
    135 views

     Hi,

    Used RadPDFViewer to print a PDF file conaining BarCodes generated using font BC C39 3 to 1 Narrow. The BarCodes are not seen in the printed copy instead the original text used to generate the barcode is seen.
    The PDF file is only referring the barcode fonts, they are not embedded.
    Could you kindly suggest the resolution for this?
    Is there any workaround installing the font with a name that RadPDFViewer could recognize, Is there a list of fonts (and names) that are supported by RadPDFViewer without requiring the PDF file to embed some basic fonts.

    Please advice to handle the scenario.

    Thank you,
    Phani.

     


     
    Phani Kumar
    Top achievements
    Rank 1
     asked on 26 Jun 2013
    7 answers
    162 views
    Hi,
    I have a question about the functionality of TreeListView.

    (As seen in the picture). If I would change the Carrot value to 800, can I let the Vegetables value change/sum up automatically ?

    And could increase/decrease the value of the Vegetables and increase the value of the children ?

    Is there any simple built-in solution for this ?

    Best regards
    kristján.
    Vamshi
    Top achievements
    Rank 1
     answered on 26 Jun 2013
    2 answers
    153 views
    Hello, what would be the best length and image size to add the buttons thus making it well legible and large. I've had setting. Png and. Jpg and with different dimensions, but the view was not legal and has also done testing on two properties available LargeImage and SmallImage, but still was not cool.
    I want the icons chosen is well readable and great way to fill the entire button.

    graciously
    André
    Andre
    Top achievements
    Rank 1
     answered on 26 Jun 2013
    1 answer
    120 views
    Hello,

    Is there an implemented way to use the keyboard (just like GridView) to move up and down in the grid side of the RadGanttView?
    I noticed that using the keyboard now just widens the columns section...

    Regards
    George
    Telerik team
     answered on 26 Jun 2013
    1 answer
    162 views
    <telerik:RadPaneGroup Margin="33,25,34,20" Grid.Row="1" Grid.ColumnSpan="5" x:Name="pnlgpPadre" 
    Visibility="Collapsed">
            <telerik:RadPane Header="Mipan" x:Name="Hijo1"/>
            <telerik:RadPane Header="Mipan2" x:Name="Hijo2"/>
    </telerik:RadPaneGroup>
    When my aplication started the 'pnlgpPadre' appers in the MainWindow and this shouldn't be there, this should be collapsed
    Kalin
    Telerik team
     answered on 26 Jun 2013
    Narrow your results
    Selected tags
    Tags
    +? more
    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?
    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?