Hello!
Could you tell me how to adjust the crosshairs so that it shifted to a discrete value (for example a multiple of 0.25) for the "Y" axis (for example, 1 minute) on the X axis.
<
telerik:RadCartesianChart
Grid.Row
=
"1"
Background
=
"{x:Null}"
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
x:Name
=
"AxisY"
HorizontalLocation
=
"Right"
LineThickness
=
"1"
SmartLabelsMode
=
"SmartStepAndRange"
MajorStep
=
"1"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:DateTimeCategoricalAxis
x:Name
=
"AxisX"
LabelFormat
=
"HH:mm"
LabelFitMode
=
"Rotate"
SmartLabelsMode
=
"SmartStep"
PlotMode
=
"OnTicksPadded"
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartCrosshairBehavior
HorizontalLineLabelDefinition
=
"{DynamicResource ChartAnnotationLabelDefinitionHorizontal}"
VerticalLineLabelDefinition
=
"{DynamicResource ChartAnnotationLabelDefinitionVertical}"
PositionChanged
=
"ChartCrosshairBehavior_PositionChanged"
/>
</
telerik:RadCartesianChart.Behaviors
>
<
telerik:CandlestickSeries
x:Name
=
"csPrice"
ZIndex
=
"1"
ItemsSource
=
"{Binding Candles}"
CloseBinding
=
"ClosePrice"
CategoryBinding
=
"Date"
HighBinding
=
"HighPrice"
LowBinding
=
"LowPrice"
OpenBinding
=
"OpenPrice"
AllowSelect
=
"True"
DefaultVisualStyle
=
"{DynamicResource CandleStikSeriesDefaultStyle}"
DefaultVisualStyleSelector
=
"{Binding Mode=OneWay, Source={StaticResource CandleStikSeriesSelectStyle}}"
/>
</
telerik:RadCartesianChart
>
I am working for some XXX Client,
Here the problem related Rad Persistence Frame Work for UI Layout Persistence.
Problem 1: If, I assigned Storage ID to Grid Level it’s not properly working (i.e. changes reflecting but, it’s removing the some of the styles (icons, hyperlinks etc.).
If, I applied Storage ID Column Level working fine.
Problem 2: There is a user Control in side the Rad Panes and it's docked left, where I have applied, even in similar way (Column Levels Storage ID) change Reflected but, widths are not exactly the way we persisted (i.e. it's floated in different manner) and also lost the Horizontal scrollbar.
Since, Codes/screenshots sharing prohibited from client, If, really don't understand the issue; Please kindly set-up web-ex session to Understand the same.
Thanks & Regards,
Chiranjeevi D
+91 - 9502433884
Hyderabad.
Our grids containing a large amount of data are facing a performance issue, and I figured out that the use of converters to translate texts such as True/False to Yes/No is contributing to this.
So is there any other way to perform those translations without going through converters? Specially this True/False that appear on grouping and filtering.
thank you!
I have a docking control with a single radpane in it.
I have a button which makes this rad pane active. and I want to do is that when the mouse goes outside the pane then the pane closes. But the problem is that if I move the mouse from center region to the header of the rad pane then the mouse leave event is considered which seems the radpane header is not part of the radpane?
How to achieve the correct behavior?
Thanks
Sherry
Hi,
I have multiple Radpanes in a Window, but I want to change the header of only one RadPane. How do I do it?
I can only see this
<Style TargetType="dock:PaneHeader" BasedOn="{StaticResource PaneHeaderStyle}">
But this then modifies all my pane. So could you please give me another solution?
Thanks
Sherry
Hi, I use RadCartesianChart to display some candles, but I see only part of them on the screen (see picture). Seems that auto-scale works not well. How to show all candles?
Here is the code:
<
Window
x:Class
=
"TelerikWpfApp1.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Background
=
"#FF1E1E1E"
>
<
Grid
>
<
telerik:RadCartesianChart
>
<
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:CategoricalAxis
/>
</
telerik:RadCartesianChart.HorizontalAxis
>
<
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:LinearAxis
HorizontalLocation
=
"Right"
/>
</
telerik:RadCartesianChart.VerticalAxis
>
<
telerik:RadCartesianChart.Series
>
<
telerik:CandlestickSeries
>
<
telerik:CandlestickSeries.DataPoints
>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:21:00"
Open
=
"-125.7368"
Close
=
"-125.7128"
Low
=
"-125.7029"
High
=
"-125.7516"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:22:00"
Open
=
"-125.7128"
Close
=
"-125.7367"
Low
=
"-125.6828"
High
=
"-125.7396"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:23:00"
Open
=
"-125.7328"
Close
=
"-125.7297"
Low
=
"-125.704"
High
=
"-125.7417"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:24:00"
Open
=
"-125.7327"
Close
=
"-125.7308"
Low
=
"-125.6938"
High
=
"-125.7357"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:25:00"
Open
=
"-125.7268"
Close
=
"-125.7069"
Low
=
"-125.6743"
High
=
"-125.7307"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:26:00"
Open
=
"-125.7039"
Close
=
"-125.7068"
Low
=
"-125.6941"
High
=
"-125.7128"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:27:00"
Open
=
"-125.7028"
Close
=
"-125.7157"
Low
=
"-125.694"
High
=
"-125.7296"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:28:00"
Open
=
"-125.7327"
Close
=
"-125.7056"
Low
=
"-125.6738"
High
=
"-125.7325"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:29:00"
Open
=
"-125.6976"
Close
=
"-125.7036"
Low
=
"-125.6918"
High
=
"-125.7116"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:30:00"
Open
=
"-125.7096"
Close
=
"-125.7037"
Low
=
"-125.6739"
High
=
"-125.7156"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:31:00"
Open
=
"-125.7057"
Close
=
"-125.6768"
Low
=
"-125.6531"
High
=
"-125.7086"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:32:00"
Open
=
"-125.6818"
Close
=
"-125.6688"
Low
=
"-125.666"
High
=
"-125.6947"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:33:00"
Open
=
"-125.6708"
Close
=
"-125.6769"
Low
=
"-125.6631"
High
=
"-125.6828"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:34:00"
Open
=
"-125.6789"
Close
=
"-125.666"
Low
=
"-125.6532"
High
=
"-125.6829"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:35:00"
Open
=
"-125.668"
Close
=
"-125.6738"
Low
=
"-125.6442"
High
=
"-125.6798"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:36:00"
Open
=
"-125.6828"
Close
=
"-125.6906"
Low
=
"-125.6529"
High
=
"-125.7026"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:37:00"
Open
=
"-125.6906"
Close
=
"-125.6816"
Low
=
"-125.6628"
High
=
"-125.7005"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:38:00"
Open
=
"-125.6936"
Close
=
"-125.6996"
Low
=
"-125.6738"
High
=
"-125.7036"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:39:00"
Open
=
"-125.6856"
Close
=
"-125.6916"
Low
=
"-125.6628"
High
=
"-125.7066"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:40:00"
Open
=
"-125.6886"
Close
=
"-125.6797"
Low
=
"-125.6738"
High
=
"-125.6976"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:41:00"
Open
=
"-125.6887"
Close
=
"-125.6738"
Low
=
"-125.644"
High
=
"-125.6937"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:42:00"
Open
=
"-125.6748"
Close
=
"-125.6709"
Low
=
"-125.6442"
High
=
"-125.6828"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:43:00"
Open
=
"-125.6629"
Close
=
"-125.68"
Low
=
"-125.6503"
High
=
"-125.6819"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:44:00"
Open
=
"-125.6829"
Close
=
"-125.674"
Low
=
"-125.6442"
High
=
"-125.6829"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:45:00"
Open
=
"-125.665"
Close
=
"-125.674"
Low
=
"-125.6443"
High
=
"-125.6879"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:46:00"
Open
=
"-125.68"
Close
=
"-125.6623"
Low
=
"-125.6337"
High
=
"-125.683"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:47:00"
Open
=
"-125.6542"
Close
=
"-125.6753"
Low
=
"-125.6445"
High
=
"-125.6831"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:48:00"
Open
=
"-125.6833"
Close
=
"-125.6803"
Low
=
"-125.6627"
High
=
"-125.6832"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:49:00"
Open
=
"-125.6773"
Close
=
"-125.6912"
Low
=
"-125.6634"
High
=
"-125.692"
/>
<
telerik:OhlcDataPoint
Category
=
"04/15/2015 02:50:00"
Open
=
"-125.6912"
Close
=
"-125.6781"
Low
=
"-125.6742"
High
=
"-125.7031"
/>
</
telerik:CandlestickSeries.DataPoints
>
</
telerik:CandlestickSeries
>
</
telerik:RadCartesianChart.Series
>
</
telerik:RadCartesianChart
>
</
Grid
>
</
Window
>
Hi Telerik,
I have two Control Panel Items set in a single style for all my grids. The column chooser icon that comes out of the box looks fine. but I can't find where I can change the other one. Where can I learn more about how those icons are defined? I would like some sort of an arrow pointing down.
Here is the code for the ControlPanelItemCollection
<
telerik:ControlPanelItemCollection
>
<
telerik:ControlPanelItem
>
<
telerik:ControlPanelItem.ButtonContent
>
<
Path
Width
=
"16"
Height
=
"16"
HorizontalAlignment
=
"Center"
VerticalAlignment
=
"Center"
Data
=
"F1M511.6665,467.2715C509.6575,468.2995,507.1905,467.5095,506.1635,465.5005C505.1325,463.4915,505.9265,461.0325,507.9355,460.0005C509.9445,458.9745,512.4095,459.7695,513.4375,461.7745C514.4695,463.7825,513.6775,466.2405,511.6665,467.2715 M518.5605,462.8565L517.8825,460.0155L515.3935,460.2825C515.1415,459.8585,514.8505,459.4725,514.5225,459.1275L515.4435,456.8975L512.9515,455.3645L511.3965,457.2925C510.8575,457.1515,510.3025,457.0815,509.7415,457.0775L508.7675,454.9135L505.9375,455.6715L506.2705,458.0665C505.8795,458.3075,505.5215,458.5835,505.2025,458.8835L503.0535,458.0005L501.5175,460.4875L503.3665,461.9795C503.2315,462.4865,503.1515,463.0135,503.1415,463.5435L501.0335,464.4175L501.7125,467.2605L504.0635,467.0085C504.3355,467.4795,504.6545,467.9065,505.0235,468.2815L504.1575,470.3765L506.6475,471.9095L508.1425,470.0605C508.6495,470.1855,509.1655,470.2555,509.6925,470.2615L510.5785,472.3905L513.4255,471.7135L513.1675,469.2965C513.6075,469.0285,514.0145,468.7215,514.3635,468.3765L516.5455,469.2745L518.0815,466.7855L516.1495,465.2305C516.2665,464.7565,516.3315,464.2705,516.3385,463.7805z"
Stretch
=
"Fill"
/>
</
telerik:ControlPanelItem.ButtonContent
>
<
telerik:ControlPanelItem.Content
>
<
Button
Content
=
"Export to Excel (incompleted feature)"
></
Button
>
</
telerik:ControlPanelItem.Content
>
</
telerik:ControlPanelItem
>
<
telerik:ControlPanelItem
ButtonTooltip
=
"Column chooser"
>
<
telerik:ControlPanelItem.ContentTemplate
>
<
DataTemplate
>
<
ListBox
ItemsSource
=
"{Binding VisibleColumns}"
BorderThickness
=
"0"
>
<
ListBox.ItemTemplate
>
<
DataTemplate
>
<
CheckBox
Content
=
"{Binding Header, Mode=OneWay}"
IsChecked
=
"{Binding IsVisible, Mode=TwoWay}"
/>
</
DataTemplate
>
</
ListBox.ItemTemplate
>
</
ListBox
>
</
DataTemplate
>
</
telerik:ControlPanelItem.ContentTemplate
>
</
telerik:ControlPanelItem
>
</
telerik:ControlPanelItemCollection
>
By the way, I dont get what is all this "Data". I just left it there from one of your samples, if you might as well please clarify this for me?
Thank you
How to set the max length of a PropertyDefinition
Like the textbox' s maxlength property
Hi,
Is there an example anywhere of a user being able to click on a chart and auto-create a text annotation based on a double-click or a right-click?
They would need to be able to add multiple annotations.
They would need to be able to delete annotations (i.e. right click on the annotation itself to delete).
We need the ability for users to create their own annotations directly within the chart area..
Thanks,
Barry
Hi,
Is there an example anywhere of a user being able to click on a chart and auto-create a line annotation based on when the mouse button went down and where it went back up again after the mouse was dragged ?
This seems tantamount to drawing a straight line and then adding a label to it.
They would need to be able to add multiple lines.
They would need to be able to delete lines.
We need the ability for users to create their own annotations directly within the chart area, using their mouse.
Thanks,
Barry