Beispiel #1
0
        void lbModel_SelectedIndexChanged(object sender, RoutedEventArgs e)
        {
            Marker3DKind markerKind = lbModel.SelectedItem as Marker3DKind;

            if (markerKind != null)
            {
                Marker3DModelKindHelper.SetModel(chart, (Marker3DModel)Activator.CreateInstance(markerKind.Type));
            }
        }
Beispiel #2
0
 public Point3DControl()
 {
     InitializeComponent();
     lbModel.SelectedItem = Marker3DModelKindHelper.FindActualMarker3DModelKind(((PointSeries3D)chart.Diagram.Series[0]).ActualModel);
     foreach (Series series in chart.Diagram.Series)
     {
         series.ToolTipPointPattern = "Year: {s}\nState: {A}\nGSP: {V:0.00}";
     }
 }
Beispiel #3
0
 public Bubble3DControl()
 {
     InitializeComponent();
     lbModel.SelectedItem       = Marker3DModelKindHelper.FindActualMarker3DModelKind(((BubbleSeries3D)chart.Diagram.Series[0]).ActualModel);
     Series.ToolTipPointPattern = "Industry: {A}\nEstimated Number of Cases: {V}\nMorbidity Rate: {W}";
 }