Telerik Forums
UI for WPF Forum
3 answers
682 views

Hello,

I am using a RadCartesianChart plotting a CandlestickSerie to it with a DateTimeCategoricalAxis and a LinearAxis.

I enabled the ChartPanAndZoomBehavior both on the horizontal mode.

When I plot, let's say, 200 candles the LinearAxis maximum and minimum are somewhat consistent with the candles min/max (but still I'd like to have it more fit). But if I zoom in, the LinearAxis min/max is not updated to fit best what is now displayed.

How can I get the current min / max of the DateTimeCategoricalAxis? I understand that there is no direct option to do so, but can I do it using the PanOffset or something else? Because with the min / max of the DateTimeCategoryAxis it would be very easy to programatically adjust the min / max of my LinearAxis.

I put two screen without zoom and with zoom where you can see that the LinearAxis min / max is not updated and I highlighted around where I'd like to have it (basically it's a function of the displayed high/low of the serie) 

 Regards

Marko
Top achievements
Rank 2
Iron
 answered on 28 May 2020
1 answer
124 views

Hi,

i need to format the style of a specific category. The categories represent months of the year. According to the current month, the category for this current month should be in bold font.

Martin Ivanov
Telerik team
 answered on 28 May 2020
3 answers
259 views

I use the IsReadOnlyBinding feature in some areas in GridView

Sample :  

IsReadOnlyBinding="{Binding AvgRateReadOnly}"

How can I change the background color for this  cells?(IsReadOnly Binding feature is false)

I can change cell background for Edit mode, but I want the change background color to look like the edit mode before  enter edit mode

How is possible?

Thanks

 
Vladimir Stoyanov
Telerik team
 answered on 28 May 2020
0 answers
104 views

Hello,

In 1.png, I hope to show the green boder of the three rows when I select Maria.And Show the green border of single row when I select Frederque.

How to achieve that?
Thanks.

guo
Top achievements
Rank 1
 asked on 28 May 2020
2 answers
217 views

Hi,

I'm able to save my diagram but the loading is not working. After loading, the connectors show but the containers and shapes were missing. It seems that there is some issue in the deserialization of my nodes as the items in the raddiagram were only the connectors. I followed this example below but my raddiagram doesnt seem to deserialize my nodes when loading.

    public override NodeViewModelBase DeserializeNode(IShape shape, Telerik.Windows.Diagrams.Core.SerializationInfo info) 
    { 
        var node = base.DeserializeNode(shape, info); 
        if (info["MyPosition"] != null) 
        { 
             var position = Utils.ToPoint(info["MyPosition"].ToString()); 
         node.Position = position.Value; 
        } 
        return node; 
    } 

 

 

Petar Mladenov
Telerik team
 answered on 28 May 2020
0 answers
100 views
In my serialize function, the function handling the date is decorated as [XmlElement(DataType = "date")] and I thought that the date would be serialized as yyyyMMdd. It looks like it comes out yyyy-MM-dd. On my OS, the format for a date is 05/27/2020. How would I serialize this to be yyyyMMdd?
Kathy
Top achievements
Rank 1
Veteran
 asked on 27 May 2020
3 answers
124 views

I am trying to use the AppointmentCalendarImporter to import iCal files exported out of Outlook (using Office Pro Plus 2016). This works quite well except the CATEGORIES from the .ics file are not importing.

 

It appears that the problem is that Outlook is exporting just the category name like this:

CATEGORIES:Personal

 

However, the importer is looking for something like this (got this example from using the Exporter):

CATEGORIES:DISPLAYNAME==Personal&CATEGORYNAME==Personal&

 

Is there a way to get the Outlook format to load?

 

Thanks!

Martin Ivanov
Telerik team
 answered on 26 May 2020
1 answer
225 views

 

Hi

I am using a GridView containing 2 or 3 lines of data.I have to hide and show some lines related to the condition

But when I hide the row, there is an empty space (possibly a row with no data)

This way I hide the line (I tried both Collapse and Hidden)

  GridView1.GetRowForItem(GridView1.Items[rowIndex]).Visibility = Visibility.Collapse;

How can I completely hide the Grid row?

Vladimir Stoyanov
Telerik team
 answered on 26 May 2020
7 answers
959 views

Hello,

I would like to export my RadGridView to Pdf using the PrintPreviewControl and RadSpreadsheet. To create the workbook I use the ExportToWorkbook method like so:

book = grid.ExportToWorkbook(new GridViewDocumentExportOptions()
{
    ShowColumnFooters = grid.ShowColumnFooters,
    ShowColumnHeaders = grid.ShowColumnHeaders,
    ShowGroupFooters = grid.ShowGroupFooters,
    AutoFitColumnsWidth = true,
    ExportDefaultStyles = true
});

and I style the cells like this:

CellStyle normalStyle = book.Styles["Normal"];
normalStyle.BottomBorder = cellBorder;
normalStyle.IsWrapped = true;
normalStyle.RightBorder = cellBorder;
foreach (Worksheet worksheet in book.Worksheets)
{
    CellRange used = worksheet.UsedCellRange;
    worksheet.Cells[1, used.FromIndex.ColumnIndex, used.ToIndex.RowIndex,
    used.ToIndex.ColumnIndex].SetStyleName("Normal");
}

 

This works fine until I have columns with very long text (with whitespaces) that won't fit on one line (neither portrait nor landscape orientation). I tried to use text wrapping on the cell style by setting the IsWrapped property to true, but this does not yield the desired result. Also "AutoFitColumnsWidth = true" does not seem to effect my columns either.

I also witnessed a strange behaviour concerning columns that are at the end of my GridView where I have to scroll to see them on screen.

When I show the PreviewControl before I scrolled to those columns, I get a different output than when I previously scrolled to those columns.

For better understanding, I attach three pictures of the results I get.

Any help would be appreciated.

Best regards

 

 

 

Todor
Telerik team
 answered on 26 May 2020
0 answers
111 views

When I click on the EBS attribute, the window becomes unresponsive and it looks like it is shown in the gif picture.

Is there too much data?

How to optimize the pivot grid?

Secondly, I want to know how to customize the date string format

 
wang
Top achievements
Rank 1
 asked on 26 May 2020
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
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?