Telerik Forums
UI for WPF Forum
1 answer
563 views

I'm using the ComboBox with the autocompleter / text enabled search. 

I want to prevent the ComboBox from changing Selected Item until I actually click on an item or press enter... 

Currently the RadComboBox changes the SelectedItem when browsing the elements (arrow up or down) which is not desired.

<telerik:RadComboBox Width="150"
                                 Height="25"
                                 Margin="115,10,0,0"
                                 HorizontalAlignment="Left"
                                 VerticalAlignment="Top"
                                 DisplayMemberPath="FabrikatNavn"
                                 IsEditable="True"
                                 IsEnabled="{Binding CanChangeVariant}"
                                 ItemsSource="{Binding Source={StaticResource SortedBrands}}"
                                 OpenDropDownOnFocus="True"
                                 SelectedItem="{Binding ElementName=root, Path=BrandModel.SelectedCarBrand}"
                                 StaysOpenOnEdit="True" />

Martin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 17 Jun 2021
2 answers
705 views

How the heck do i databind or manipulate the FullTextSearch Text ??

I've tried doing perfectly normal / sane / obvious databinding in XAML like this: 

<telerik:RadGridView TextSearch.Text="{Binding MyTextProperty}">

but that doesn't work - maybe because its not the correct property -- can't find it in documentation or as property on the radGridView instance..

I've also tried figuring out the binding example from this Forum called https://www.telerik.com/forums/bind-full-text-search-to-custom-textbox but failed to do so.. 

Why is the FullTextSearch String property not exposed in a normal behavior like with a DependencyProperty ???????

Why is this so hard ?

Why are the SearchPanel hardcoded instead of exposing a customizable panel ??

eg: If i want to add a button that clears all Search Filters , i need to make ugly hacks :(

Martin
Top achievements
Rank 2
Iron
Iron
Iron
 updated answer on 16 Jun 2021
2 answers
153 views

Hi, have you any recommendation on how best to add a footer to the RadAutoSuggestBox?

E.g. "Showing 20 results of 100"

Thanks,

Richard

Martin Ivanov
Telerik team
 answered on 16 Jun 2021
1 answer
168 views

We are using RadChartView to display some complex data. The requirement is to have a stacked column with 4 stacks above 0, 4 columns stacked below 0 and those need to have categories.

In XAML Code this looks like this:


<telerik:RadCartesianChart Tag="Text">
                    <telerik:RadCartesianChart.Grid> 
                        <telerik:CartesianChartGrid MajorLinesVisibility="Y" /> 
                    </telerik:RadCartesianChart.Grid> 
                    <telerik:RadCartesianChart.HorizontalAxis> 
                        <telerik:CategoricalAxis FontSize="11" LabelRotationAngle="45" LabelFitMode="Rotate" SmartLabelsMode="SmartStep"  /> 
                    </telerik:RadCartesianChart.HorizontalAxis> 
                    <telerik:RadCartesianChart.VerticalAxis> 
                        <telerik:LinearAxis LabelFormat="N2" SmartLabelsMode="SmartStep" /> 
                    </telerik:RadCartesianChart.VerticalAxis>
                    <telerik:RadCartesianChart.Series>
                        <telerik:BarSeries x:Name="CrNoScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrNoScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrNoScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrNoScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrLowScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrLowScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrLowScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrLowScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrMediumScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrMediumScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrMediumScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrMediumScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrHighScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrHighScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="CrHighScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrHighScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbNoScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbNoScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbNoScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbNoScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbLowScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbLowScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbLowScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbLowScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbMediumScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbMediumScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbMediumScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbMediumScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbHighScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbHighScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerik:BarSeries x:Name="DbHighScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbHighScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <telerikChartView:LineSeries ItemsSource="{Binding ChartDatas}" 
                                                     CategoryBinding="TextShort" 
                                                     ValueBinding="Count"
                                                     ToolTip="{}{Text}&#x0a;Anzahl: {y:n0}"
                                                     x:Name="Count">
                            <telerikChartView:LineSeries.StrokeShapeStyle> 
                                <Style TargetType="Path"> 
                                    <Setter Property="Stroke" Value="{StaticResource Anzahl}"/> 
                                    <Setter Property="StrokeThickness" Value="2"/> 
                                </Style> 
                            </telerikChartView:LineSeries.StrokeShapeStyle>
                            <telerikChartView:LineSeries.PointTemplate>
                                <DataTemplate> 
                                    <Rectangle Height="7" Width="7" Fill="{StaticResource Anzahl}" /> 
                                </DataTemplate> 
                            </telerikChartView:LineSeries.PointTemplate>
                            <telerikChartView:LineSeries.VerticalAxis>
                                <telerik:LinearAxis HorizontalLocation="Right"/>
                            </telerikChartView:LineSeries.VerticalAxis>
                            <telerikChartView:LineSeries.DefaultVisualStyle> 
                                <Style TargetType="Path">
                                    <Setter Property="Width" Value="10" /> 
                                    <Setter Property="Height" Value="10" /> 
                                    <Setter Property="Stroke" Value="{StaticResource Anzahl}" />
                                </Style> 
                            </telerikChartView:LineSeries.DefaultVisualStyle> 
                        </telerikChartView:LineSeries>
                    </telerik:RadCartesianChart.Series>
                </telerik:RadCartesianChart>

I attach the chart as an image to this post. You can see there is a white line with around 1 pixel on every column. i can further say the border Y position and height make this white line.

The second clue i can give is that once i remove the negative series or make their value 0, the line is gone.

for example:


<DataTemplate x:Key="ElementCrDbColumnChart"
                          DataType="{x:Type charts:ChartDataContext}">
                <telerik:RadCartesianChart Tag="Text">
                    <telerik:RadCartesianChart.Grid> 
                        <telerik:CartesianChartGrid MajorLinesVisibility="Y" /> 
                    </telerik:RadCartesianChart.Grid> 
                    <telerik:RadCartesianChart.HorizontalAxis> 
                        <telerik:CategoricalAxis FontSize="11" LabelRotationAngle="45" LabelFitMode="Rotate" SmartLabelsMode="SmartStep"  /> 
                    </telerik:RadCartesianChart.HorizontalAxis> 
                    <telerik:RadCartesianChart.VerticalAxis> 
                        <telerik:LinearAxis LabelFormat="N2" SmartLabelsMode="SmartStep" /> 
                    </telerik:RadCartesianChart.VerticalAxis>
                    <telerik:RadCartesianChart.Series>
                        <telerik:BarSeries x:Name="CrNoScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrNoScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="CrNoScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrNoScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="CrLowScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrLowScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="CrLowScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrLowScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="CrMediumScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrMediumScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="CrMediumScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrMediumScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="CrHighScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrHighScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="CrHighScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Cr"
                                           CombineMode="Stack"
                                           ValueBinding="CrHighScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource SollHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="DbNoScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbNoScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="DbNoScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbNoScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenNo}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="DbLowScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbLowScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="DbLowScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbLowScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenLow}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="DbMediumScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbMediumScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="DbMediumScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbMediumScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenMedium}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerik:BarSeries x:Name="DbHighScoreColumn"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbHighScore"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>
                        <!--<telerik:BarSeries x:Name="DbHighScoreColumnNegative"
                                           ToolTip="{}{Text}&#x0a;Summe: {y:n2}"
                                           ItemsSource="{Binding ChartDatas}" 
                                           CategoryBinding="TextShort"
                                           StackGroupKey="Db"
                                           CombineMode="Stack"
                                           ValueBinding="DbHighScoreNegative"
                                           PaletteMode="Series" >
                            <telerik:BarSeries.DefaultVisualStyle>
                                <Style TargetType="Border">
                                    <Setter Property="Padding" Value="1" />
                                    <Setter Property="BorderThickness" Value="1,0" />
                                    <Setter Property="Background" Value="{StaticResource HabenHigh}" />
                                </Style>
                            </telerik:BarSeries.DefaultVisualStyle>
                        </telerik:BarSeries>-->
                        <telerikChartView:LineSeries ItemsSource="{Binding ChartDatas}" 
                                                     CategoryBinding="TextShort" 
                                                     ValueBinding="Count"
                                                     ToolTip="{}{Text}&#x0a;Anzahl: {y:n0}"
                                                     x:Name="Count">
                            <telerikChartView:LineSeries.StrokeShapeStyle> 
                                <Style TargetType="Path"> 
                                    <Setter Property="Stroke" Value="{StaticResource Anzahl}"/> 
                                    <Setter Property="StrokeThickness" Value="2"/> 
                                </Style> 
                            </telerikChartView:LineSeries.StrokeShapeStyle>
                            <telerikChartView:LineSeries.PointTemplate>
                                <DataTemplate> 
                                    <Rectangle Height="7" Width="7" Fill="{StaticResource Anzahl}" /> 
                                </DataTemplate> 
                            </telerikChartView:LineSeries.PointTemplate>
                            <telerikChartView:LineSeries.VerticalAxis>
                                <telerik:LinearAxis HorizontalLocation="Right"/>
                            </telerikChartView:LineSeries.VerticalAxis>
                            <telerikChartView:LineSeries.DefaultVisualStyle> 
                                <Style TargetType="Path">
                                    <Setter Property="Width" Value="10" /> 
                                    <Setter Property="Height" Value="10" /> 
                                    <Setter Property="Stroke" Value="{StaticResource Anzahl}" />
                                </Style> 
                            </telerikChartView:LineSeries.DefaultVisualStyle> 
                        </telerikChartView:LineSeries>
                    </telerik:RadCartesianChart.Series>
                </telerik:RadCartesianChart>
            </DataTemplate>

result in a chart with no white line. the same data. everything the same except for the barseries.

As a second side question: why is the line series not drawn? Any idea - it worked and some day without changes it disappeared and only the points are still drawn.

 

i hope we can get some solution here soon. we need this to work under any circumstances and with alle the above mentioned requirements. since we have telerik and componentone licences we will try to use their chart control for the time being but i would really want to use telerik if possible.

Martin Ivanov
Telerik team
 answered on 15 Jun 2021
0 answers
127 views

While editing the XAML document, I'm experiencing weird behavior in VS2019. 

All examples applies when the Design editor is active together with XAML editor.

Example 1:

Selecting XAML with mouse stops when i start selecting the telerik:RadComboBox 

Example 2:

Copy Pasting bugs out, either the selection is empty or incorrect !

Example 3:

'Forcus' in Visual Studio is sometimes overtaken by the RadComboBox which is very annoying. 

 

Martin
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 15 Jun 2021
1 answer
267 views
When you import a pdf file as shown in the attached picture, there is a blank space. (The blue part)
I was wondering if there is a setting to remove this margin.
Tanya
Telerik team
 answered on 14 Jun 2021
0 answers
211 views

Hi All! Here is what I'm trying to achieve with the RadNavigationView (RNV):

  • Main content is full screen map in the background and through the RNV would toggle different overlays or options.
  • Depending on what the selecteditem is, show/hide/resize content area.

What's the best way to achieve that behavior with the RNV?

Aaron
Top achievements
Rank 1
 asked on 13 Jun 2021
1 answer
1.3K+ views

I created a simple round button by setting Width and Height properties to the same size and CornerRadius to Width/2. Until now this worked perfect in my application.

After updating to R2.2021 (Telerik.UI.for.Wpf.NetCore, 2021.2.511) I noticed that buttons ignore the CornerRadius property when using the Fluent Theme. This was not the behavior in previous releases. 

Steps to reproduce:

  1. Create a WPF Core project (.NET Core 3.1)
  2. Add Telerik.UI.for.Wpf.NetCore (2021.2.511) via NuGet package manager
  3. Modify App.xaml to include all resource dictionaries necessary for Fluent Theme
  4. Create a button:
<telerik:RadButton Content="DOH!"
                   Height="100" Width="100"
                   CornerRadius="50" />

The button is just a square, not round. When changing the theme to e. g. VisualStudio 2019 the button is round again. (see attached pictures)

Regards
Heiko

Psyduck
Top achievements
Rank 5
Bronze
Bronze
Bronze
 updated answer on 11 Jun 2021
1 answer
123 views

Hi Team,

We have an application in which we are using gauge control to show some values. This application is currently supporting many themes and themes are applied as per the selected theme. But in few of the themes the RadSemicircleNorthGauge display the white background which is make design look bad. We have tried to remove it but did not find any way to do so. Is there any way through which we can remove it so that it will not be shown in any themes. Attaching here with the images showing the same gauge in 2 different theme. 

Kindly help us resolve this issue.

The attached 2 images are visible in respective themes:

1. Image with background - In Crystal Light/Dark, Fluent light/Dark

2. Image without background - In Office2016, Office2016touch, Expression Dark.

Dilyan Traykov
Telerik team
 answered on 09 Jun 2021
0 answers
114 views

I have a LineSeries where I can add new points by clicking on the chart.

Most of the time everything is fine but sometimes the lines are connected to the wrong point.

It only happens when the time values are close to each other.

If I close the page with the chart and open it again the lines are drawn correctly.

1. Is there a way to get the chart to draw the line correct?

2. If not 1. Then can I somehow force a refresh of the chart?

Fredrik
Top achievements
Rank 1
Veteran
Iron
 asked on 08 Jun 2021
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
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
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?