Пример #1
0
        protected static void DataChanged(object sender, DependencyPropertyChangedEventArgs e)
        {
            ChartPlotter3D plotter = (ChartPlotter3D)sender;

            plotter.Points = plotter.CreatePoints();
            plotter.UpdateGeometry();
        }
Пример #2
0
        static ChartPlotter3D()
        {
            ChartPlotter3D.cursorZoomIn  = null;
            ChartPlotter3D.cursorZoomOut = null;

            FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(ChartPlotter3D), new FrameworkPropertyMetadata(typeof(ChartPlotter3D)));
            ChartPlotter3D.cursorZoomIn  = ChartPlotter3D.LoadCursor("ZoomIn");
            ChartPlotter3D.cursorZoomOut = ChartPlotter3D.LoadCursor("ZoomOut");
        }