Telerik Forums
UI for WPF Forum
8 answers
313 views
Hello,

Is there some way to plot Stepline series and Line series on the same graph ? I have a cartesian chart with several line and area series and I would like to add stepline serie without modifying my data (e.g. without adding a Y value at each X to have the constant line). 

Another question, is it possible to change the base line of an area series so that color fill stops at a specific Y value ? 
alpha-bit
Top achievements
Rank 1
 answered on 26 Sep 2017
5 answers
183 views

Hi,

Sometimes the bars are extremely thin for some sparse datasets.  When I display a bar chart with a DateTimeContinuousAxis horizontal axis, spanning just a few hours with only 2 or 3 items, the bars are extremely thin.  If I change the timespan to a day, also with just a few items, the bars look normal (see attached screenshots).  I'm using UI for WPF Q2 2016, Is this s bug?

Thanks,

Brian

Brian
Top achievements
Rank 1
 answered on 26 Sep 2017
3 answers
572 views

I am sure this was working but I am not seeing the correct output now:

Row Data Context Property

[Display(Name = "Start Date")]
[DisplayFormat(DataFormatString = "{0:d}")]
public DateTime ClaimDate { get; set; }

 

XAML in the View

<telerik:RadGridView VerticalAlignment="Stretch" CanUserDeleteRows="False" CanUserFreezeColumns="False" CanUserInsertRows="False" CanUserReorderColumns="False" CanUserSearch="False" ShowGroupPanel="False"
                       ShowSearchPanel="False" ItemsSource="{Binding Data.ItemsSource}" BorderBrush="Transparent" IsReadOnly="True" ShowToolTipOnTrimmedText="True" RowIndicatorVisibility="Collapsed"
                       SelectionMode="Single" IsFilteringAllowed="False" AlternationCount="2">
  </telerik:RadGridView>

 

C# Interactive Window

> DateTime.Today.ToString("d")
"05/09/2017"

 

Screenshots are attached.

 

Any ideas?

Thanks,
Maurice

 

 

 

 

Dilyan Traykov
Telerik team
 answered on 26 Sep 2017
2 answers
294 views
Hello Sirs,

I'm trying to show the selectedColor/selectedItem in a rectangle which is inside my RadColorPicker.

<Style TargetType="telerik:RadColorPicker" 
           x:Name="colorPicker"
           BasedOn="{StaticResource StandardInputControlStyle}"
           >
        <Setter Property="Margin" Value="5,0,10,5"></Setter>
        
        <Setter Property="ContentTemplate">
            <!-- responsible for the button's design -->
            <Setter.Value>
                <DataTemplate>
                    <TextBlock>
                        <Rectangle HorizontalAlignment="Center" 
                             VerticalAlignment="Center"
                             Width="108" 
                             Height="23" 
                             x:Name="Rectangle" 
                             Fill="{Binding ElementName=colorPicker, Path=SelectedColor}">
                        </Rectangle>
                    </TextBlock>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>
Luis
Top achievements
Rank 1
 answered on 25 Sep 2017
2 answers
199 views

Hi Admin

I have a map with markers(PushPins) in it. Now I want to add titles(place) on top of each marker to distinguish then. I was hoping to get some help with that.

 

Thanks in andvance

Martin Ivanov
Telerik team
 answered on 25 Sep 2017
2 answers
334 views

I have some columns with `CellStyleSelector` and `CellTemplateSelector` which associating with a property in row data, when the property changed in code behide, both StyleSelector and TemplateSelector are not refreshed.

now I have got the row which need to refresh from `ItemContainerGenerator`, but have no idea to do that.

RadGridView.Rebind() works but it might be a little heavy.

public void RefreshRowTheme(object rowData)
{
    var container = this.grid.ItemContainerGenerator.ContainerFromItem(rowData);
    if (container != null)
    {
        var row = container as GridViewRow;
        if (row != null)
        {
            //how to re-apply StyleSelector and TemplateSelector on all cells
        }
    }
}

 

Thanks.

runer
Top achievements
Rank 1
 answered on 25 Sep 2017
3 answers
495 views

Hi Telerik,

 

Our users would like to zoom in/out of a GridView via 'ctrl-mouse wheel up/down', much like Excel zooms in and out of the spreadsheet.

Could you please help or give an example of how to do this with the RadGridView?

 

Kind regards

Abhinav
Top achievements
Rank 1
 answered on 22 Sep 2017
1 answer
351 views

Hello,

I have a gridview control which items is automatically updated from time to time. A user has ability to group items in the grid (using standard drag and drop approach). However, after items updating groups collapse, even if they were expanded. If I set AutoExpandGroups = false, groups will be always expanded after update.

I would like to save expand/collapse group status. Is it possible to implement?

Thank you in advance

Stefan
Telerik team
 answered on 22 Sep 2017
1 answer
256 views

I was reading about using glyphs the other day and it sounds very interesting, but it's not clear from any of the documentation how to use them with implicit styles. 

 

The overview page says "In order to use the glyph references and the font as StaticResources in a project, you need to include the Telerik.Windows.Controls.dll and merge the required dictionary in the application resources.", but I am using all "no xaml" files, so I'm not really sure how those things fit together.

Martin
Telerik team
 answered on 22 Sep 2017
6 answers
943 views
Hi,
I am loading my application on touch screen tablets and scrollbars need to be wider for easy scrolling.  How can I increase width of gridview scrollbars.

Thanks
Jhansi
David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 22 Sep 2017
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?