C# Class Smrf.NodeXL.Visualization.Wpf.NodeXLWithAxesControl

Adds graph axes to a Visualization.Wpf.NodeXLControl.
This control wraps a Visualization.Wpf.NodeXLControl in a Grid that also includes Axis controls for the x- and y-axes.

The axes display default ranges. You should call on each of the XAxis and objects to set the range of values being displayed in the Visualization.Wpf.NodeXLControl.

The Axis controls automatically adjust themselves when the graph is zoomed or translated.

Inheritance: System.Windows.Controls.Grid
Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_oNodeXLControl NodeXLControl
m_oXAxis Smrf.WpfGraphicsLib.Axis
m_oYAxis Smrf.WpfGraphicsLib.Axis

Public Methods

Method Description
NodeXLWithAxesControl ( ) : System

Initializes a new instance of the NodeXLWithAxesControl class.

NodeXLWithAxesControl ( NodeXLControl nodeXLControl ) : System

Initializes a new instance of the NodeXLWithAxesControl class with a specified NodeXLControl.

SetFont ( System.Windows.Media.Typeface typeface, Double labelEmSize ) : void

Protected Methods

Method Description
InvalidateAxes ( ) : void
m_oNodeXLControl_GraphTranslationChanged ( Object oSender, EventArgs oEventArgs ) : void
m_oNodeXLControl_GraphZoomChanged ( Object oSender, EventArgs oEventArgs ) : void

Private Methods

Method Description
AssertValid ( ) : void

Method Details

InvalidateAxes() protected method

protected InvalidateAxes ( ) : void
return void

NodeXLWithAxesControl() public method

Initializes a new instance of the NodeXLWithAxesControl class.
public NodeXLWithAxesControl ( ) : System
return System

NodeXLWithAxesControl() public method

Initializes a new instance of the NodeXLWithAxesControl class with a specified NodeXLControl.
public NodeXLWithAxesControl ( NodeXLControl nodeXLControl ) : System
nodeXLControl NodeXLControl /// The to embed within the control. ///
return System

SetFont() public method

public SetFont ( System.Windows.Media.Typeface typeface, Double labelEmSize ) : void
typeface System.Windows.Media.Typeface
labelEmSize Double
return void

m_oNodeXLControl_GraphTranslationChanged() protected method

protected m_oNodeXLControl_GraphTranslationChanged ( Object oSender, EventArgs oEventArgs ) : void
oSender Object
oEventArgs System.EventArgs
return void

m_oNodeXLControl_GraphZoomChanged() protected method

protected m_oNodeXLControl_GraphZoomChanged ( Object oSender, EventArgs oEventArgs ) : void
oSender Object
oEventArgs System.EventArgs
return void

Property Details

m_oNodeXLControl protected_oe property

protected NodeXLControl,Smrf.NodeXL.Visualization.Wpf m_oNodeXLControl
return NodeXLControl

m_oXAxis protected_oe property

protected Axis,Smrf.WpfGraphicsLib m_oXAxis
return Smrf.WpfGraphicsLib.Axis

m_oYAxis protected_oe property

protected Axis,Smrf.WpfGraphicsLib m_oYAxis
return Smrf.WpfGraphicsLib.Axis