Telerik Forums
UI for WPF Forum
15 answers
507 views

I'm having an issue where my chart is displaying values on that minmum axis that should be below that axis. This is using a PointTemplate to show a BarSeries as points. This happens for both logarithmic and linear axes. Example is as follows:

 

<Window x:Class="ZeroLogAxis.MainWindow"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <telerik:RadCartesianChart>
            <telerik:RadCartesianChart.Resources>
                <DataTemplate x:Key="PointTemplate">
                    <Ellipse Width="8" Height="8"
                             VerticalAlignment="Top"
                             Margin="-4,-4,0,0"
                             Fill="Black" />
                </DataTemplate>
                <Style TargetType="telerik:BarSeries">
                    <Setter Property="PointTemplate"
                            Value="{StaticResource PointTemplate}" />
                </Style>
            </telerik:RadCartesianChart.Resources>
            <telerik:RadCartesianChart.HorizontalAxis>
                <telerik:DateTimeContinuousAxis
                    LabelFitMode="Rotate" LabelFormat="dd-MMM-yy" />
            </telerik:RadCartesianChart.HorizontalAxis>
            <telerik:RadCartesianChart.VerticalAxis>
                <telerik:LinearAxis Minimum="3" Maximum="6" />
            </telerik:RadCartesianChart.VerticalAxis>
            <telerik:RadCartesianChart.Series>
                <telerik:BarSeries Name="BarSeries" />
            </telerik:RadCartesianChart.Series>
        </telerik:RadCartesianChart>
    </Grid>
</Window>

Code Behind:

public MainWindow()
{
    InitializeComponent();
    for (int i = 1; i < 6; i++)
        BarSeries.DataPoints.Add(
            new Telerik.Charting.CategoricalDataPoint()
                { Category = DateTime.Today.AddDays(i), Value = i });
}

With a Minimum="3" on my VerticalAxis, I would expect to see half of the "3" point, and the full 4 and 5 point. However, I'm also seeing half a point on the axis for the 1 and 2 values, as indicated by the red arrows in the attached screenshot.

Any suggestions on how to not display points that should not be on the chart?

 

Thanks,

Louis

 

Louis
Top achievements
Rank 1
 answered on 07 Oct 2015
1 answer
126 views

I want to bind the SelectedDate in RadCalendar, to two CurrentDate in different RadScheduleView. How can i do that?

                <telerik:RadCalendar Name="radCalendar"
                                 Canvas.Left="80" Canvas.Top="200"
                                 Height="320" Width="400"
                                 SelectedDate="{Binding CurrentDate, ElementName=radScheduleView,  Mode=TwoWay}"
                                 SelectionMode="Single" DisplayDate="{Binding DisplayDate, Mode=TwoWay}">
            </telerik:RadCalendar>

I want to have two ElementName=radScheduleView and ElementName=radScheduleView1
Nasko
Telerik team
 answered on 07 Oct 2015
3 answers
338 views
Hi,

I am using a RadRichTextBox to allow a user to write the content of an email. I export the content to HTML and use this as the content of the email. I am unable to get images pasted into the RadRickTextBox to appear in the email (although when viewing the HTML in chrome the image is there). I was wondering if you had encountered a similar situation before, or if you had any idea how to solve this issue.

I have attached an image of what I get when the email opens in outlook

Thanks,

Steven
Petya
Telerik team
 answered on 07 Oct 2015
1 answer
222 views
Hi,
I have 2014 Q3 WPF Open Source Code. 
When I build all project by Build_WPF40_Xamlless.bat command, there isn't any Telerik.Windows.Controls.Charting.dll in Binaries folder.
But when I build all project by Build_WPF40.bat command, there is it !!!

I am wondering  if there is a way to get charting dll with xamless option?

extra details:
I have a project that draws a chart.
when I use Build_WPF40 dlls , it works correctly.
but when I use  Build_WPF40_Xamlless dlls and my charting dll (that I build it from the Chart_WPF.sln project) , it just draw the X/Y-Axis and doesn't draw the chart.

I really need the xamless charting dll because all of my project works with xamless dll.
please help me.
thanks.
Dinko | Tech Support Engineer
Telerik team
 answered on 07 Oct 2015
2 answers
62 views

Hi there,

I have a RadGridView with a GroupHeaderTemplate.  Every time any group is expanded / collapsed or a new column grouping is added or removed, all group header controls (as defined in the GroupHeaderTemplate) are unloaded and new ones are created.  Is it possible to stop this behaviour so that all group header controls are not recreated on every action?

Thanks

Russell

Stefan
Telerik team
 answered on 07 Oct 2015
3 answers
193 views
We have several RadToolBars inside a RadToolbarTray and the user of the application should be able to shift these RadToolBars around inside the Tray. So that he can customize his Tray depending on screen size.

How do we get this done? The IsLocked property shows no effect.
Petar Mladenov
Telerik team
 answered on 07 Oct 2015
5 answers
103 views
Hi,

Please note that I posted this question a few days ago, but it seems to have been deleted, so I am posting it again.

I have modified the WorksheetEditorContextMenu so that a user can right click on a cell and select from the context menu one of the Workbooks currently Defined Names. I need the selected Defined Name to be inserted at the cursor position of the selected cell.

For example if the cell already has =A1+ typed in it and the user right clicks and selects the Defined Name TotalKMs the cell should then read =A1+TotalKMs with the ability for the user to keep tying the rest of the formula.

I am currently achieving what I require by setting the text on the Clipboard and calling radSpreadsheet.CommandDescriptors.Paste.Command.Execute(null).

This is a poor solution because the clipboard should not be used by applications in this manner.

Is there a better way to achieve this?

Thanks
Anthony
Anthony
Top achievements
Rank 1
Iron
Veteran
 answered on 06 Oct 2015
2 answers
163 views

Hello,

after I load the tree I want to expand all items, then call BringPathIntoView(). This does not work. If I do not call ExpandAll(), BringPathIntoView will select the correct item. My requirement is that I expand the whole tree and select a specific item based on certain rules. Here's my code:

 radTreeView.ItemsSource = _radTreeViewItems;

radTreeView.ExpandAll();

radTreeView.BringPathIntoView("something\\somethingChild");

 

The "something\\somethingChild" path is an item near the bottom of a large tree and it does not scroll down. Is there a way to wait for the ExpandAll() method to finish, then call BringPathIntoView?

 

Thanks,

Scott

Scott Michetti
Top achievements
Rank 1
Iron
 answered on 06 Oct 2015
3 answers
716 views
Is it possible to display RTF files in the RadRichTextBox that contain binary picture data? I have a stripped-down file that contains a jpegblip\bin tag which the RadRichTextBox does not display. The first line of the file is:
{\rtf1{\pict\picw2700\pich2700\picwgoal2700\pichgoal2700\jpegblip\bin9889

I created a second file with the binary data converted to hex data and the text box shows the image as expected. The first line of that file is:
{\rtf1{\pict\picw2700\pich2700\picwgoal2700\pichgoal2700\jpegblip

While the binary data contents of pictures is a part of the RTF standard, is this part of the standard supported by RadRichTextBox?

NB: I have two RTF files that demonstrate the issue, however only images can be attached this thread.

Thanks,
Jason.
Aylin
Telerik team
 answered on 06 Oct 2015
1 answer
93 views

I am using the diagram view in MVVM mode and I have built my test app starting from the MVVM SDK sample and the Class Diagram demo.

I can create shapes and connections programmatically. Connections created programmatically can be edited. I am using "gliding" connectors. My test app is able to create new shapes by dragging/dropping shapes from the toolbox. However, I cant create new connections interactively. When I click a shape, the center point of the shape shows up, when mousing over it, it gets highlighted and the tooltip "Connect" does appear. I am getting ConnectorManipulationStarted event. When dragging the mouse away no connector is showing up, and no Completed event ever fires. I have made sure that every editing related property is enabled on shapes, connectors and diagram style, but nothing...

 

Any idea ?

Thanks !

L.

 

 

 

Laurent
Top achievements
Rank 1
 answered on 05 Oct 2015
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?