Ejemplo n.º 1
0
        private static void OnDrillDownHelperChanged(DependencyObject target, DependencyPropertyChangedEventArgs args)
        {
            RadCartesianChart chart = target as RadCartesianChart;

            if (chart == null)
            {
                return;
            }

            chart.Series.Clear();

            DrillDownHelper driller = args.NewValue as DrillDownHelper;

            if (driller == null)
            {
                return;
            }

            CategoricalSeries series = CreateSeries(driller.CatBinding, driller.ValBinding, driller.Data,
                                                    driller.SeriesType);

            chart.Series.Add(series);
        }
Ejemplo n.º 2
0
 public static void SetDrillDownHelper(DependencyObject obj, DrillDownHelper value)
 {
     obj.SetValue(DrillDownHelperProperty, value);
 }