Border Style="{StaticResource BorderCombo_Details}" Grid.Column="2" Grid.Row="3" Width="200" HorizontalAlignment="Left" VerticalAlignment="Top">
<telerikInput:RadComboBox x:Name="cmbFamilyCompositionWithSen" TabIndex="43" ToolTip="{x:Static Resx:Strings.Mselects_Tolltip}" Style="{StaticResource RadComboBoxCheack_Details}"
Validation.Error="Validation_Error" IsDropDownOpen="True" MaxDropDownHeight="40" StaysOpenOnEdit="True" FlowDirection="RightToLeft">
<telerik:RadComboBox.SelectionBoxTemplate>
<DataTemplate>
<TextBlock Text="{x:Null}"/>
</DataTemplate>
</telerik:RadComboBox.SelectionBoxTemplate>
<telerik:RadComboBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal">
<CheckBox IsChecked="{Binding Path=FC_IsChecked,Mode=OneWay}" x:Name="cbxFamilyCompositionWithSen"
Tag="{Binding Path=FC_ID}" GotFocus="cbxOfCmb_GotFocus" Checked="AddRemoveFamliyCom" Unchecked="AddRemoveFamliyCom"/>
<TextBlock Text="{Binding Path=FC_Desc}"/>
</StackPanel>
</DataTemplate>
</telerik:RadComboBox.ItemTemplate>
</telerikInput:RadComboBox>
</Border>
ItemMapping itemMap = new ItemMapping("StockValue", DataPointMember.YValue);
seriesMapping.ItemMappings.Add(itemMap);
itemMap = new ItemMapping("XCat", DataPointMember.XCategory);
seriesMapping.ItemMappings.Add(itemMap);
radChart.DataBound += (o, e) =>
{
TickPointCollection tickPoints = radChart.DefaultView.ChartArea.AxisX.TickPoints;
if (tickPoints != null)
{
foreach (TickPoint point in tickPoints)
{
// don't show a label if it has been marked with an X to hide it
if (point.Label.Contains("X"))
{
point.Label = " "; // THIS IS HAPPENING IN DEBUG - so why do they show on the chart?
}
else
{
point.Label = point.Label; // only a few qualify to get here and thus keep their labels
}
}
}
};