1. In the demo first look when I click in a barline chart the item is select with a border, can I do the same with a single barline char? because it doesn't work, I'm using this:
SeriesMapping seriesMapping = new SeriesMapping();
seriesMapping.SeriesDefinition =
new BarSeriesDefinition();
seriesMapping.SeriesDefinition.InteractivitySettings.HoverScope =
InteractivityScope.Item;
seriesMapping.SeriesDefinition.InteractivitySettings.SelectionScope =
InteractivityScope.Item;
seriesMapping.SeriesDefinition.InteractivitySettings.SelectionMode =
ChartSelectionMode.Single;
seriesMapping.SeriesDefinition.ShowItemToolTips =
true;
seriesMapping.SeriesDefinition.ItemToolTipFormat =
"#VAL{#,###,###,##0$}"; //"#Y$";
seriesMapping.SeriesDefinition.Appearance.Fill =
new SolidColorBrush(Color.FromArgb(200, 248, 152, 29));
seriesMapping.SeriesDefinition.ItemLabelFormat =
"#VAL{#,###,###,##0$}"; //"#Y$";
ItemMapping
yMapping = new ItemMapping("quantity", DataPointMember.YValue);
ItemMapping catMapping = new ItemMapping("period", DataPointMember.XCategory);
seriesMapping.ItemMappings.Add(yMapping);
seriesMapping.ItemMappings.Add(catMapping);
chart_Months.DefaultView.ChartArea.ZoomScrollSettingsX.ScrollMode =
ScrollMode.ScrollAndZoom;
chart_Months.DefaultView.ChartArea.ZoomScrollSettingsX.MinZoomRange = _minZoomRange;
chart_Months.DefaultView.ChartArea.ZoomScrollSettingsX.PropertyChanged += ZoomScrollSettingsX_PropertyChanged;
chart_Months.SeriesMappings.Clear();
chart_Months.SeriesMappings.Add(seriesMapping);
chart_Months.ItemsSource = e.Result.ToList();
2. Can I make a pie chart with an item already exploded without doing click?
Thank you.
For my first question I realized when I'm using ZoomScrollSettingsX the selected item border is not working. Is there any way to identify the selectd item?