or
<
telerik:DateTimeContinuousAxis
x:Name
=
"horizontalAxis"
LabelFormat
=
"dd.MM hh:mm"
LabelFitMode
=
"MultiLine"
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"LayoutUpdated"
>
<
i:InvokeCommandAction
Command
=
"{Binding LayoutUpdatedCommand}"
CommandParameter
=
"{Binding ElementName=horizontalAxis}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
telerik:DateTimeContinuousAxis
>
<
telerik:ChartTrackBallBehavior
x:Name
=
"trackBallBehavior"
ShowTrackInfo
=
"True"
>
<
i:Interaction.Triggers
>
<
i:EventTrigger
EventName
=
"TrackInfoUpdated"
>
<
i:InvokeCommandAction
Command
=
"{Binding TrackInfoUpdatedCommand}"
CommandParameter
=
"{Binding ElementName=trackBallBehavior}"
/>
</
i:EventTrigger
>
</
i:Interaction.Triggers
>
</
telerik:ChartTrackBallBehavior
>
Hi ,
I am using Rad Controls for WPF Q2 of 2013, Also I am new to Telerik.
I would like to create 2 rows for a single record in the telerik rad grid view as attached. Is it possible to do the template in the XAML code itself ?
With Regards.
Siva
Hi,
I am using Rad Controls for WPF Q2 of 2013, Also I am new to Telerik.
I would like to create 2 rows for a single record in the telerik rad grid view as attached. Is it possible to do the template in the XAML code itself ?
With Regards.
Siva
Hi,
I am using Rad Controls for WPF Q2 of 2013, Also I am new to Telerik.
I would like to create 2 rows for a single record in the telerik rad grid view as attached. Is it possible to do the template in the XAML code itself ?
With Regards.
Siva
<
telerik:RadBusyIndicator
Name
=
"busyInd"
HorizontalAlignment
=
"Left"
Grid.Row
=
"1"
Margin
=
"10,10,0,0"
VerticalAlignment
=
"Top"
Height
=
"255"
Width
=
"372"
IsIndeterminate
=
"True"
>
<
telerik:RadCartesianChart
x:Name
=
"CartesianChartDemo"
Grid.Column
=
"5"
Margin
=
"10"
Grid.Row
=
"2"
Grid.ColumnSpan
=
"3"
>
<
telerik:RadCartesianChart.Behaviors
>
<
telerik:ChartPanAndZoomBehavior
PanMode
=
"Both"
ZoomMode
=
"Both"
/>
</
telerik:RadCartesianChart.Behaviors
>
</
telerik:RadCartesianChart
>
</
telerik:RadBusyIndicator
>
CartesianChartDemo.VerticalAxis =
new
CategoricalAxis();
CartesianChartDemo.HorizontalAxis =
new
LinearAxis();
CartesianChartDemo.Grid =
new
CartesianChartGrid() { MajorLinesVisibility = GridLineVisibility.XY };
string
strQuery =
"MyQuery"
;
//Function to get datatable
DataTable dtAlloys = DataRetriever.GetDataTable(strQuery);
BarSeries barSer =
new
BarSeries();
barSer.ShowLabels =
true
;
barSer.CombineMode = ChartSeriesCombineMode.Cluster;
BarSeries barSer2 =
new
BarSeries();
barSer2.ShowLabels =
true
;
barSer2.CombineMode = ChartSeriesCombineMode.Cluster;
foreach
(DataRow drAlloy
in
dtAlloys.Rows)
{
barSer.DataPoints.Add(
new
CategoricalDataPoint() { Category = drAlloy[
"MATERIAL_CODE"
], Label =
string
.Format(
"{0:N}"
, drAlloy[
"WT"
]), Value =
double
.Parse(drAlloy[
"WT"
].ToString()) });
barSer2.DataPoints.Add(
new
CategoricalDataPoint() { Category = drAlloy[
"MATERIAL_CODE"
], Label =
string
.Format(
"{0:N}"
, drAlloy[
"TARG"
]), Value =
double
.Parse(drAlloy[
"TARG"
].ToString()) });
}
CartesianChartDemo.Series.Clear();
CartesianChartDemo.Series.Add(barSer);
CartesianChartDemo.Series.Add(barSer2);
busyInd.IsBusy =
true
;
//Code to load data
busyInd.IsBusy =
false
;